Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server;
  4.  
  5. root /home/viktor/website;
  6.  
  7. index index.html index.htm index.nginx-debian.html;
  8.  
  9. server_name example.com;
  10.  
  11. location / {
  12. # First attempt to serve request as file, then
  13. # as directory, then fall back to displaying a 404.
  14. try_files $uri $uri/ =404;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement