light weight + admin2
This commit is contained in:
15
parts/api-miltystub.conf
Normal file
15
parts/api-miltystub.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
location /api/ {
|
||||
# add_header 'Access-Control-Allow-Origin' '*';
|
||||
# add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
# add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
|
||||
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
|
||||
proxy_pass http://backend/;
|
||||
}
|
||||
|
||||
location /multystub/ {
|
||||
# add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
|
||||
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
|
||||
proxy_pass http://multystub/;
|
||||
}
|
||||
Reference in New Issue
Block a user