Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /usr/share/nginx/daviewales.tk;
- index index.html index.htm;
- server_name localhost;
- location / {
- ssi on;
- set $inc $request_uri;
- if (!-f $request_filename) {
- rewrite ^ /index.html last;
- }
- try_files $uri $uri/index.html $uri/index.htm $uri/ =404;
- index index.html index.htm;
- }
- location ~ /\. { access_log off; log_not_found off; deny all; }
- location ~ ~$ { access_log off; log_not_found off; deny all; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement