Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 8080 default;
- server_name saipathuri.gyges.feralhosting.com;
- root /media/sdb1/saipathuri/www/$host/public_html;
- index index.html index.php;
- autoindex on;
- autoindex_exact_size off;
- autoindex_localtime on;
- # Pass files that end in .php to PHP
- location ~ \.php$ {
- fastcgi_read_timeout 1h;
- fastcgi_send_timeout 10m;
- include /etc/nginx/fastcgi.conf;
- fastcgi_pass unix:/media/sdb1/saipathuri/.nginx/php/socket;
- }
- # Deny access to anything starting with .ht
- location ~ /\.ht {
- deny all;
- }
- include conf.d/000-default-server.d/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement