Apuntar proxy a version nueva de nombres

This commit is contained in:
Roberto Alsina 2024-08-21 09:39:12 -03:00
parent e32c91191a
commit 7bdbff02f1
2 changed files with 7 additions and 11 deletions

View File

@ -1,10 +1,10 @@
FROM alpine:latest as builder
FROM alpine:latest AS builder
WORKDIR /app
COPY . ./
# This is where one could build the application code as well.
FROM alpine:latest as tailscale
FROM alpine:latest AS tailscale
WORKDIR /app
COPY . ./
ENV TSFILE=tailscale_1.68.2_amd64.tgz

View File

@ -4,6 +4,10 @@ server {
server_name faaso-prod.ralsina.me;
if ($request_method = 'OPTIONS' ) {
return 200;
}
location / {
proxy_pass http://rocky.tail20c16.ts.net:8888;
proxy_set_header X-Forwarded-Host $http_host;
@ -47,6 +51,7 @@ server {
server_name faaso.ralsina.me;
server_name nicolino.ralsina.me;
server_name crycco.ralsina.me;
server_name nombres.ralsina.me;
location / {
proxy_pass http://pinky.tail20c16.ts.net:8080;
@ -182,12 +187,3 @@ server {
server_name covers.ralsina.me;
return 301 https://ralsina.me/stories/covers/;
}
server {
listen 8080;
listen [::]:8080;
server_name nombres.ralsina.me;
return 301 https://ralsina.me/stories/nombres/;
}