Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
don't try directories on request
Browse files Browse the repository at this point in the history
  • Loading branch information
jchorl committed May 27, 2020
1 parent fe8f4c1 commit c387b17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
server {
listen 80;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
try_files $uri /index.html =404;
}

include /etc/nginx/extra-conf.d/*.conf;
}

0 comments on commit c387b17

Please sign in to comment.