pref: update domain
This commit is contained in:
parent
5cb26a0c0b
commit
0e5ca9b0a4
@ -26,7 +26,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.ipv6-test.rule=Host(`test.thehrz.net`)
|
- traefik.http.routers.ipv6-test.rule=Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
|
||||||
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
||||||
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
||||||
networks:
|
networks:
|
||||||
|
20
nginx/conf.d/4.conf
Normal file
20
nginx/conf.d/4.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name 4.ipv6test.online;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_min_length 1k;
|
||||||
|
gzip_buffers 4 16k;
|
||||||
|
gzip_http_version 1.1;
|
||||||
|
gzip_comp_level 9;
|
||||||
|
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
|
||||||
|
gzip_disable "MSIE [1-6]\.";
|
||||||
|
gzip_vary on;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://ipv6-test-backend:8080/;
|
||||||
|
proxy_read_timeout 60;
|
||||||
|
proxy_connect_timeout 60;
|
||||||
|
proxy_redirect off;
|
||||||
|
}
|
||||||
|
}
|
17
nginx/conf.d/6.conf
Normal file
17
nginx/conf.d/6.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
server {
|
||||||
|
listen [::]:80;
|
||||||
|
server_name 6.ipv6test.online;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_min_length 1k;
|
||||||
|
gzip_buffers 4 16k;
|
||||||
|
gzip_http_version 1.1;
|
||||||
|
gzip_comp_level 9;
|
||||||
|
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
|
||||||
|
gzip_disable "MSIE [1-6]\.";
|
||||||
|
gzip_vary on;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://ipv6-test-backend:8080/;
|
||||||
|
}
|
||||||
|
}
|
20
nginx/conf.d/root.conf
Normal file
20
nginx/conf.d/root.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
server {
|
||||||
|
listen [::]:80;
|
||||||
|
server_name ipv6test.online;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_min_length 1k;
|
||||||
|
gzip_buffers 4 16k;
|
||||||
|
gzip_http_version 1.1;
|
||||||
|
gzip_comp_level 9;
|
||||||
|
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
|
||||||
|
gzip_disable "MSIE [1-6]\.";
|
||||||
|
gzip_vary on;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://ipv6-test-frontend:3000;
|
||||||
|
proxy_read_timeout 60;
|
||||||
|
proxy_connect_timeout 60;
|
||||||
|
proxy_redirect off;
|
||||||
|
}
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name test.thehrz.net;
|
server_name test.ipv6test.online;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_min_length 1k;
|
gzip_min_length 1k;
|
||||||
@ -13,13 +13,6 @@ server {
|
|||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://ipv6-test-frontend:3000;
|
|
||||||
proxy_read_timeout 60;
|
|
||||||
proxy_connect_timeout 60;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /api/ {
|
|
||||||
proxy_pass http://ipv6-test-backend:8080/;
|
proxy_pass http://ipv6-test-backend:8080/;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user