Skip to content

Commit

Permalink
Remove specific location for /static/
Browse files Browse the repository at this point in the history
  • Loading branch information
The0mikkel committed Jan 1, 2024
1 parent 4995cf3 commit 42bfc9a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/nginx/includes/byceps
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
location @byceps {
uwsgi_pass byceps-admin:5000;
uwsgi_pass byceps:5000;
include uwsgi_params;
proxy_set_header Host $host;
}
Expand All @@ -12,10 +12,6 @@ location = /favicon.ico {
return 404;
}

location ^~ /static/ {
alias /var/www/byceps/byceps/static/;
}

location ~ ^/static_sites/(.+?)/(.+)$ {
alias /var/www/byceps/sites/$1/static/$2;
}
Expand Down

0 comments on commit 42bfc9a

Please sign in to comment.