mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
updated nginx
Former-commit-id: 8921f18d2e79c11d8c1599a62d74001e2430f25e [formerly e9d12ed78e252b4d01279895510cb96863175bd1] [formerly 433ffaed97bcda9d707fef4d433efe47ba010dad [formerly 1901ee088fabba296750ed26e2eb1ad1d07d41a0 [formerly25b373e1bb
]]] Former-commit-id: b18dee88c673f773f18fa38de3e6d1d970bee171 [formerly 9c5d887f433efda9f703c9f5eb12e42f2d1ee064] Former-commit-id: 2c24834a9fb2ca4c303a7f65b416ddaaa44b256c Former-commit-id:c4994b979d
This commit is contained in:
parent
4bc71a2032
commit
25f005a688
@ -21,11 +21,11 @@ server {
|
|||||||
add_header Cache-Control "public";
|
add_header Cache-Control "public";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static {
|
location ^~ /static {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location ~ ^/ {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
Loading…
Reference in New Issue
Block a user