Compare commits
14 Commits
6f318a4dfc
...
main
Author | SHA1 | Date | |
---|---|---|---|
66833871f8 | |||
41c8fd4559 | |||
f0c9ad04f8 | |||
8f185cceef | |||
d1c442f7b3 | |||
11d6781bd9 | |||
7bdbff02f1 | |||
e32c91191a | |||
7761f341d0 | |||
4b5756e360 | |||
3de9039037 | |||
f9e8faa88a | |||
c965372f24 | |||
4ec0b1c689 |
59
ralsina.me.txt
Normal file
59
ralsina.me.txt
Normal file
@ -0,0 +1,59 @@
|
||||
;;
|
||||
;; Domain: ralsina.me.
|
||||
;; Exported: 2024-08-20 14:42:21
|
||||
;;
|
||||
;; This file is intended for use for informational and archival
|
||||
;; purposes ONLY and MUST be edited before use on a production
|
||||
;; DNS server. In particular, you must:
|
||||
;; -- update the SOA record with the correct authoritative name server
|
||||
;; -- update the SOA record with the contact e-mail address information
|
||||
;; -- update the NS record(s) with the authoritative name servers for this domain.
|
||||
;;
|
||||
;; For further information, please consult the BIND documentation
|
||||
;; located on the following website:
|
||||
;;
|
||||
;; http://www.isc.org/
|
||||
;;
|
||||
;; And RFC 1035:
|
||||
;;
|
||||
;; http://www.ietf.org/rfc/rfc1035.txt
|
||||
;;
|
||||
;; Please note that we do NOT offer technical support for any use
|
||||
;; of this zone data, the BIND name server, or any other third-party
|
||||
;; DNS software.
|
||||
;;
|
||||
;; Use at your own risk.
|
||||
;; SOA Record
|
||||
ralsina.me 3600 IN SOA princess.ns.cloudflare.com. dns.cloudflare.com. 2047583154 10000 2400 604800 3600
|
||||
|
||||
;; NS Records
|
||||
ralsina.me. 86400 IN NS princess.ns.cloudflare.com.
|
||||
ralsina.me. 86400 IN NS tim.ns.cloudflare.com.
|
||||
|
||||
;; A Records
|
||||
direct.ralsina.me. 1 IN A 192.241.197.159 ; Points to DigitalOcean VPS for nikola and others
|
||||
|
||||
;; CAA Records
|
||||
ralsina.me. 1 IN CAA 0 issuewild "pki.goog; cansignhttpexchanges=yes"
|
||||
ralsina.me. 1 IN CAA 0 issuewild "letsencrypt.org"
|
||||
ralsina.me. 1 IN CAA 0 issuewild "digicert.com; cansignhttpexchanges=yes"
|
||||
ralsina.me. 1 IN CAA 0 issuewild "comodoca.com"
|
||||
ralsina.me. 1 IN CAA 0 issue "pki.goog; cansignhttpexchanges=yes"
|
||||
ralsina.me. 1 IN CAA 0 issue "letsencrypt.org"
|
||||
ralsina.me. 1 IN CAA 0 issue "digicert.com; cansignhttpexchanges=yes"
|
||||
ralsina.me. 1 IN CAA 0 issue "comodoca.com"
|
||||
|
||||
;; CNAME Records
|
||||
_acme-challenge.ralsina.me. 1 IN CNAME ralsina.me.ydzmj.flydns.net.
|
||||
*.ralsina.me. 1 IN CNAME white-wave-7409.fly.dev.
|
||||
ralsina.me. 1 IN CNAME white-wave-7409.fly.dev.
|
||||
|
||||
;; MX Records
|
||||
ralsina.me. 1 IN MX 75 route2.mx.cloudflare.net.
|
||||
ralsina.me. 1 IN MX 27 route3.mx.cloudflare.net.
|
||||
ralsina.me. 1 IN MX 1 route1.mx.cloudflare.net.
|
||||
|
||||
;; TXT Records
|
||||
_dmarc.ralsina.me. 1 IN TXT "v=DMARC1; p=none; rua=mailto:ralsina@netmanagers.com.ar,mailto:roberto.alsina@gmail.com,mailto:roberto@ralsina.me"
|
||||
ralsina.me. 1 IN TXT "v=spf1 include:_spf.mx.cloudflare.net ~all"
|
||||
ralsina.me. 1 IN TXT "google-site-verification=GLjctZfTmZSRp8wt7vx4ko-KaGlqT5hxfUTliYpX9V8"
|
@ -1,13 +1,13 @@
|
||||
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.56.1_amd64.tgz
|
||||
ENV TSFILE=tailscale_1.84.0_amd64.tgz
|
||||
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
|
||||
COPY . ./
|
||||
|
||||
|
@ -1,3 +1,50 @@
|
||||
map $upstream_http_access_control_allow_origin $allow_origin {
|
||||
'' "*";
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
server_name faaso-prod.ralsina.me;
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' $allow_origin;
|
||||
add_header 'Access-Control-Allow-Headers' '*';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
add_header 'Allow' 'POST, GET, OPTIONS';
|
||||
|
||||
if ($request_method = 'OPTIONS' ) {
|
||||
return 200;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://rocky.tail20c16.ts.net:8888;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
server_name grafito-demo.ralsina.me;
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' $allow_origin;
|
||||
add_header 'Access-Control-Allow-Headers' '*';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
add_header 'Allow' 'POST, GET, OPTIONS';
|
||||
|
||||
if ($request_method = 'OPTIONS' ) {
|
||||
return 200;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://rocky.tail20c16.ts.net:1112;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
@ -5,7 +52,7 @@ server {
|
||||
server_name code.ralsina.me;
|
||||
|
||||
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 Host $host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
@ -24,27 +71,15 @@ server {
|
||||
|
||||
server_name home.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 nicolino.ralsina.me;
|
||||
server_name crycco.ralsina.me;
|
||||
server_name nombres.ralsina.me;
|
||||
server_name grafito.ralsina.me;
|
||||
server_name tocry.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8080;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:8080;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
@ -62,7 +97,7 @@ server {
|
||||
server_name links.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8086;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:8086;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
@ -80,7 +115,7 @@ server {
|
||||
server_name git.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:3000;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:3000;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
@ -107,13 +142,13 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:7777;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:7777;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /stream {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:7777;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:7777;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
@ -143,31 +178,9 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8082;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:8082;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
error_page 403 404 500 502 503 504 /custom_50x.html;
|
||||
location = /custom_50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
internal;
|
||||
}
|
||||
}
|
||||
|
||||
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 {
|
||||
@ -177,7 +190,7 @@ server {
|
||||
server_name snips.ralsina.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8091 ;
|
||||
proxy_pass http://rocky.tail20c16.ts.net:8091 ;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
|
||||
# WebSocket support
|
||||
@ -194,12 +207,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/;
|
||||
}
|
||||
|
Reference in New Issue
Block a user