If you have Redis already in use you may want to look into The default Redis install is perfectly fine for the panel. Try_files $uri $uri/ /index.php?$query_string įastcgi_split_path_info ^(.+\.php)(/.+)$ įastcgi_pass unix:/var/run/php-fpm/pterodactyl.sock įastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M" įastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name # add_header Strict-Transport-Security "max-age=15768000 preload " Īdd_header X-Content-Type-Options nosniff Īdd_header X-XSS-Protection "1 mode=block" Īdd_header Content-Security-Policy "frame-ancestors 'self'" # See before uncommenting the line below. Ssl_certificate_key /etc/letsencrypt/live//privkey.pem Ssl_certificate /etc/letsencrypt/live//fullchain.pem # allow larger file uploads and longer script runtimes Access_log /var/log/nginx/ Įrror_log /var/log/nginx/ error
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |