Compare commits
4 Commits
6f318a4dfc
...
3de9039037
Author | SHA1 | Date | |
---|---|---|---|
3de9039037 | |||
f9e8faa88a | |||
c965372f24 | |||
4ec0b1c689 |
@ -7,7 +7,7 @@ COPY . ./
|
|||||||
FROM alpine:latest as tailscale
|
FROM alpine:latest as tailscale
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
ENV TSFILE=tailscale_1.56.1_amd64.tgz
|
ENV TSFILE=tailscale_1.68.2_amd64.tgz
|
||||||
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
|
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
@ -2,10 +2,30 @@ server {
|
|||||||
listen 8080;
|
listen 8080;
|
||||||
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;
|
server_name code.ralsina.me;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://mindy.ralsina.github.beta.tailscale.net:8088;
|
proxy_pass http://mindy.tail20c16.ts.net:8088;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@ -24,27 +44,11 @@ server {
|
|||||||
|
|
||||||
server_name home.ralsina.me;
|
server_name home.ralsina.me;
|
||||||
server_name ralsina.me;
|
server_name 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;
|
|
||||||
}
|
|
||||||
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;
|
server_name faaso.ralsina.me;
|
||||||
|
server_name nicolino.ralsina.me;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
|
proxy_pass http://pinky.tail20c16.ts.net:8080;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
@ -153,23 +157,6 @@ 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 {
|
server {
|
||||||
listen 8080;
|
listen 8080;
|
||||||
listen [::]:8080;
|
listen [::]:8080;
|
||||||
|
Loading…
Reference in New Issue
Block a user