Skip to content

Commit

Permalink
Fix(nginx): Fixed nginx static files location
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriafabriss committed Nov 30, 2023
1 parent 4018105 commit fb63707
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions infra/nginx/conf.d/fallback_server.conf

This file was deleted.

3 changes: 3 additions & 0 deletions infra/nginx/vhost.d/default
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
location /static {
alias /usr/share/nginx/static;
}
1 change: 1 addition & 0 deletions infra/server/start_nginx_acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ docker run --detach \
--volume ./infra/nginx/conf.d/custom_proxy.conf:/etc/nginx/conf.d/custom_proxy.conf \
--volume ./infra/nginx/conf.d/fallback_server.conf:/etc/nginx/conf.d/fallback_server.conf \
--volume staticfiles:/usr/share/nginx/static \
--volume ./infra/nginx/vhost.d/default:/etc/nginx/vhost.d/default \
--network shared \
nginxproxy/nginx-proxy

Expand Down

0 comments on commit fb63707

Please sign in to comment.