Apuntar proxy a version nueva de nombres
This commit is contained in:
parent
e32c91191a
commit
7bdbff02f1
@ -1,10 +1,10 @@
|
|||||||
FROM alpine:latest as builder
|
FROM alpine:latest AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
# This is where one could build the application code as well.
|
# This is where one could build the application code as well.
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:latest as tailscale
|
FROM alpine:latest AS tailscale
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
ENV TSFILE=tailscale_1.68.2_amd64.tgz
|
ENV TSFILE=tailscale_1.68.2_amd64.tgz
|
||||||
|
@ -4,6 +4,10 @@ server {
|
|||||||
|
|
||||||
server_name faaso-prod.ralsina.me;
|
server_name faaso-prod.ralsina.me;
|
||||||
|
|
||||||
|
if ($request_method = 'OPTIONS' ) {
|
||||||
|
return 200;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://rocky.tail20c16.ts.net:8888;
|
proxy_pass http://rocky.tail20c16.ts.net:8888;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
@ -47,6 +51,7 @@ server {
|
|||||||
server_name faaso.ralsina.me;
|
server_name faaso.ralsina.me;
|
||||||
server_name nicolino.ralsina.me;
|
server_name nicolino.ralsina.me;
|
||||||
server_name crycco.ralsina.me;
|
server_name crycco.ralsina.me;
|
||||||
|
server_name nombres.ralsina.me;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://pinky.tail20c16.ts.net:8080;
|
proxy_pass http://pinky.tail20c16.ts.net:8080;
|
||||||
@ -182,12 +187,3 @@ server {
|
|||||||
server_name covers.ralsina.me;
|
server_name covers.ralsina.me;
|
||||||
return 301 https://ralsina.me/stories/covers/;
|
return 301 https://ralsina.me/stories/covers/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 8080;
|
|
||||||
listen [::]:8080;
|
|
||||||
|
|
||||||
server_name nombres.ralsina.me;
|
|
||||||
return 301 https://ralsina.me/stories/nombres/;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user