Skip to content

Commit

Permalink
Fix locations
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Jun 23, 2023
1 parent 1cf7f83 commit 6ba37ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ http {
default_type application/octet-stream;
access_log off;
keepalive_timeout 65;
root /static;
server {
listen 80 default_server;
location /webhook {
proxy_pass http://127.0.0.1:5000;
}
location / {
root /static;
location = / {
index index.html;
}
location / {
try_files $uri $uri.html $uri/ =404;
}
}
Expand Down

0 comments on commit 6ba37ae

Please sign in to comment.