Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- root /home/viktor/website;
- index index.html index.htm index.nginx-debian.html;
- server_name example.com;
- location / {
- # First attempt to serve request as file, then
- # as directory, then fall back to displaying a 404.
- try_files $uri $uri/ =404;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement