Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- root /var/www/nexus;
- server_name nexus.com;
- index index.php index.html;
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 256 16k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- location / {
- try_files $uri $uri/ /sudoshutdownnow.php?$request_uri;
- }
- location ~ /\.ht {
- deny all;
- }
- location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml|mp3)$ {
- access_log off;
- log_not_found off;
- expires 30d;
- }
- }
Add Comment
Please, Sign In to add comment