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