mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
更新nginx配置
This commit is contained in:
parent
6c0f932ae8
commit
45e2c43997
|
@ -14,6 +14,13 @@ server {
|
|||
proxy_pass http://api;
|
||||
}
|
||||
|
||||
location /open {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://api;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_static on;
|
||||
gzip_types text/plain application/json application/javascript application/x-javascript text/css application/xml text/javascript;
|
||||
|
|
Loading…
Reference in New Issue
Block a user