Compare commits

..

No commits in common. "3de9039037d640c1392e4f301775e40e9547972d" and "6f318a4dfc26dc302a785e15f1d63fc77304bb5c" have entirely different histories.

2 changed files with 38 additions and 25 deletions

View File

@ -7,7 +7,7 @@ COPY . ./
FROM alpine:latest as tailscale
WORKDIR /app
COPY . ./
ENV TSFILE=tailscale_1.68.2_amd64.tgz
ENV TSFILE=tailscale_1.56.1_amd64.tgz
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
COPY . ./

View File

@ -2,30 +2,10 @@ server {
listen 8080;
listen [::]:8080;
server_name faaso-prod.ralsina.me;
location / {
proxy_pass http://rocky.tail20c16.ts.net:8888;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}
error_page 500 502 503 504 /custom_50x.html;
location = /custom_50x.html {
root /usr/share/nginx/html;
internal;
}
}
server {
listen 8080;
listen [::]:8080;
server_name code.ralsina.me;
location / {
proxy_pass http://mindy.tail20c16.ts.net:8088;
proxy_pass http://mindy.ralsina.github.beta.tailscale.net:8088;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
@ -44,11 +24,27 @@ server {
server_name home.ralsina.me;
server_name ralsina.me;
server_name faaso.ralsina.me;
server_name nicolino.ralsina.me;
location / {
proxy_pass http://pinky.tail20c16.ts.net:8080;
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Host $host;
}
error_page 500 502 503 504 /custom_50x.html;
location = /custom_50x.html {
root /usr/share/nginx/html;
internal;
}
}
server {
listen 8080;
listen [::]:8080;
server_name faaso.ralsina.me;
location / {
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Host $host;
}
@ -157,6 +153,23 @@ server {
}
}
server {
listen 8080;
listen [::]:8080;
server_name hass.ralsina.me;
location / {
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8123;
proxy_set_header X-Forwarded-Host $http_host;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 8080;
listen [::]:8080;