Advertisement
tamami

Untitled

Feb 12th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.36 KB | None | 0 0
  1. server {
  2.     listen 80 default_server;
  3.     root /var/www/html/;
  4.     index index.html index.htm index.nginx-debian.html;
  5.     server_name _;
  6.     location / {
  7.         # First attempt to serve request as file, then
  8.         # as directory, then fall back to displaying a 404.
  9.         #try_files $uri $uri/ =404;
  10.         try_files $uri $uri/ /index.html;
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement