servers/psmf: add psmf server docs, nginx/tailscale config, and data-sync
Document the psmf host (DNS, second tailscale netns instance, nginx vhosts, migration plan) and add the docker-dev-22 psmf-data-sync service plus the storage-23 pg_hba.conf entry it needs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
28
servers/psmf/files/nginx/psmf.intranet
Normal file
28
servers/psmf/files/nginx/psmf.intranet
Normal file
@@ -0,0 +1,28 @@
|
||||
# Reverse proxy: psmf.intranet -> horst-1 Apache (10.0.0.5)
|
||||
# Same target as the default site, but bound to the psmf.intranet host header.
|
||||
# See servers/psmf/migration-plan.md and servers/psmf/dns-configuration.md.
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name psmf.intranet;
|
||||
|
||||
# Long bodies / uploads from the legacy PHP intranet app.
|
||||
client_max_body_size 64m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.0.5;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
|
||||
proxy_connect_timeout 10s;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user