csrf error solve. try 2

This commit is contained in:
Frank
2026-01-10 13:37:14 +01:00
parent 47091cd4e3
commit 09b7e78fdd
6 changed files with 69 additions and 4 deletions

View File

@@ -1,6 +1,18 @@
server {
listen 80;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
root /var/www/html/public;
index index.php index.html;