This commit is contained in:
parent
fa19bc502e
commit
76f2d6925e
10
admin.conf
10
admin.conf
@ -21,10 +21,10 @@ server {
|
|||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
if ($host = sadmin.pena) {
|
if ($host = sadmin.pena) {
|
||||||
proxy_pass http://10.8.0.6:59301;
|
proxy_pass http://10.7.0.6:59301;
|
||||||
}
|
}
|
||||||
if ($host != sadmin.pena) {
|
if ($host != sadmin.pena) {
|
||||||
proxy_pass http://10.8.0.6:59300;
|
proxy_pass http://10.7.0.6:59300;
|
||||||
}
|
}
|
||||||
proxy_hide_header Access-Control-Allow-Origin;
|
proxy_hide_header Access-Control-Allow-Origin;
|
||||||
add_header Access-Control-Allow-Origin $http_origin always;
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
@ -42,7 +42,7 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
proxy_pass http://10.8.0.6:59300;
|
proxy_pass http://10.7.0.6:59300;
|
||||||
}
|
}
|
||||||
location /manager/ {
|
location /manager/ {
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
@ -56,11 +56,11 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
proxy_pass http://10.8.0.6:59301/;
|
proxy_pass http://10.7.0.6:59301/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /swagger/ {
|
location /swagger/ {
|
||||||
proxy_pass http://10.8.0.6:59300/;
|
proxy_pass http://10.7.0.6:59300/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/v1.0.0/ {
|
location /heruvym/v1.0.0/ {
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
admin_front:
|
admin_front:
|
||||||
container_name: admin_front
|
container_name: admin_front
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: gitea.pena:3000/penaside/adminfront:staging.a6f3ab6136f69ad770aa31b2a67500e196e9ba4b
|
image: gitea.pena:3000/penaside/adminfront:staging.3c7e7f5c3fe8bab2e55a3b2086e0ca278415847f
|
||||||
ports:
|
ports:
|
||||||
- 10.7.0.18:80:80
|
- 10.7.0.18:80:80
|
||||||
- 10.7.0.18:443:443
|
- 10.7.0.18:443:443
|
||||||
|
Loading…
Reference in New Issue
Block a user