Skip to content

Commit

Permalink
Change location in nginx config from /nkosl to /
Browse files Browse the repository at this point in the history
  • Loading branch information
mm51593 committed Apr 19, 2022
1 parent a6c5391 commit 6963bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nkosl_blog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ server {
access_log /var/log/nkosl_access.log;
error_log /var/log/nkosl_error.log;

location /nkosl {
location / {
# forward application requests to the gunicorn server
proxy_pass http://localhost:5000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}

0 comments on commit 6963bef

Please sign in to comment.