admin-ui ng转发域名增加
This commit is contained in:
@@ -8,7 +8,7 @@ map $http_upgrade $connection_upgrade {
|
||||
server {
|
||||
listen 80;
|
||||
server_name gitea.animal-spot.icu;
|
||||
client_max_body_size 1m;
|
||||
client_max_body_size 100m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://__API_HOST__:3000;
|
||||
@@ -34,7 +34,7 @@ server {
|
||||
ssl_certificate_key /etc/nginx/ssl/gitea.animal-spot.icu.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
client_max_body_size 1m;
|
||||
client_max_body_size 100m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://__API_HOST__:3000;
|
||||
@@ -60,7 +60,7 @@ server {
|
||||
ssl_certificate_key /etc/nginx/ssl/animal-spot.icu.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
client_max_body_size 1m;
|
||||
client_max_body_size 100m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://__API_HOST__:8080;
|
||||
@@ -82,7 +82,7 @@ server {
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
client_max_body_size 1m;
|
||||
client_max_body_size 100m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://__API_HOST__:8080;
|
||||
|
||||
Reference in New Issue
Block a user