1
0
mirror of git://f0xx.org/ac/ac-platform-edge synced 2026-07-29 01:39:22 +03:00
Files
ac-platform-edge/fe/notify.f0xx.org.conf
Anton Afanasyeu 69118a130f feat(fe): add notify.f0xx.org nginx vhost snippet
Proxy broadcast public landing pages to ac_be_backend for lab/prod FE install.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 15:36:53 +02:00

44 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# FE Gentoo — notify.f0xx.org (broadcast public landing pages)
# Requires upstream ac_be_backend from ac-platform-edge/fe/ac-fe-upstream.conf
# BE: cast0103 nginx server_name notify.f0xx.org → /var/www/ac/broadcast/public
server {
listen 80;
server_name notify.f0xx.org;
location ^~ /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
allow all;
}
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name notify.f0xx.org;
ssl_certificate /etc/letsencrypt/live/notify.f0xx.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/notify.f0xx.org/privkey.pem;
access_log /var/log/nginx/notify.f0xx.org.access_log main;
error_log /var/log/nginx/notify.f0xx.org.error_log info;
location / {
proxy_pass http://ac_be_backend;
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_connect_timeout 120s;
proxy_send_timeout 120s;
proxy_read_timeout 180s;
proxy_buffers 16 16m;
proxy_buffer_size 16m;
client_body_buffer_size 16m;
client_max_body_size 16m;
proxy_buffering off;
}
}