nginx.conf: fix config
This commit is contained in:
parent
010ad93d0c
commit
d3c1b358a5
@ -1,8 +1,3 @@
|
|||||||
|
|
||||||
upstream auth_server {
|
|
||||||
server auth_server:80;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
@ -18,7 +13,6 @@ server {
|
|||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
# kill cache
|
# kill cache
|
||||||
add_header Last-Modified $date_gmt;
|
add_header Last-Modified $date_gmt;
|
||||||
add_header Cache-Control 'no-store, no-cache';
|
add_header Cache-Control 'no-store, no-cache';
|
||||||
@ -31,7 +25,6 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /download {
|
location /download {
|
||||||
auth_request /auth;
|
|
||||||
proxy_pass $URL_DOWNLOAD;
|
proxy_pass $URL_DOWNLOAD;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user