mirror of
https://github.com/RoboSats/robosats-web-host.git
synced 2025-07-29 06:03:17 +00:00
Create @robosats.org
This commit is contained in:
@ -92,6 +92,16 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
return 301 https://learn.robosats.org$request_uri;
|
return 301 https://learn.robosats.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_pass http://127.0.0.1:4000;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
@ -104,11 +114,6 @@ server {
|
|||||||
ssl_certificate /etc/nginx/ssl/live/learn.robosats.org/fullchain.pem;
|
ssl_certificate /etc/nginx/ssl/live/learn.robosats.org/fullchain.pem;
|
||||||
ssl_certificate_key /etc/nginx/ssl/live/learn.robosats.org/privkey.pem;
|
ssl_certificate_key /etc/nginx/ssl/live/learn.robosats.org/privkey.pem;
|
||||||
|
|
||||||
location /.well-known/nostr.json {
|
|
||||||
alias /nostr/nostr.json;
|
|
||||||
default_type application/json;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Reference in New Issue
Block a user