mirror of
https://github.com/YunoHost-Apps/mygpo_ynh.git
synced 2024-09-03 19:55:52 +02:00
Fix nginx security issue
This commit is contained in:
parent
eef1b7eb8b
commit
68023698fe
1 changed files with 4 additions and 4 deletions
|
@ -45,12 +45,12 @@ location @proxy_to_app {
|
|||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location /media/admin {
|
||||
alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin;
|
||||
location /media/admin/ {
|
||||
alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin/;
|
||||
}
|
||||
|
||||
location /static/admin {
|
||||
alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin;
|
||||
location /static/admin/ {
|
||||
alias __INSTALL_DIR__/venv/lib/python3.7/site-packages/django/contrib/admin/static/admin/;
|
||||
}
|
||||
|
||||
location ~ /(favicon.ico|favicon.png|robots.txt|clientconfig.json) {
|
||||
|
|
Loading…
Reference in a new issue