Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen *:443 ssl;
- server_name structures.eveskillboard.com;
- root /var/www/html/structures/public;
- index index.php index.html index.htm;
- charset utf-8;
- location / {
- try_files $uri $uri/ /index.php?$query_string;
- }
- access_log /var/log/nginx/structures-access.log;
- error_log /var/log/nginx/structures-error.log error;
- error_page 404 /index.php;
- sendfile off;
- location ~ \.php$ {
- try_files $uri /index.php =404;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~ /\.ht {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement