[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix alias paths in nginx config (#5557)
Browse files Browse the repository at this point in the history
* Update nginx.conf

fix alias path

* Update nginx_TLS.conf

fix alias path
  • Loading branch information
tutasla authored Dec 7, 2021
1 parent 9ec00d5 commit 2a1d01c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ http {
location = /50x.html {
root /usr/share/nginx/html;
}
location /static {
alias /usr/share/nginx/html/static;
location /static/ {
alias /usr/share/nginx/html/static/;
}
location /media {
alias /usr/share/nginx/html/media;
location /media/ {
alias /usr/share/nginx/html/media/;
}
location / {
include /run/defectdojo/uwsgi_pass;
Expand Down
8 changes: 4 additions & 4 deletions nginx/nginx_TLS.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ http {
location = /50x.html {
root /usr/share/nginx/html;
}
location /static {
alias /usr/share/nginx/html/static;
location /static/ {
alias /usr/share/nginx/html/static/;
}
location /media {
alias /usr/share/nginx/html/media;
location /media/ {
alias /usr/share/nginx/html/media/;
}
location / {
include /run/defectdojo/uwsgi_pass;
Expand Down

0 comments on commit 2a1d01c

Please sign in to comment.