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 {
|
||||
listen 80;
|
||||
|
||||
@ -18,7 +13,6 @@ server {
|
||||
|
||||
|
||||
location / {
|
||||
|
||||
# kill cache
|
||||
add_header Last-Modified $date_gmt;
|
||||
add_header Cache-Control 'no-store, no-cache';
|
||||
@ -31,7 +25,6 @@ server {
|
||||
}
|
||||
|
||||
location /download {
|
||||
auth_request /auth;
|
||||
proxy_pass $URL_DOWNLOAD;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user