Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
955 B
Plaintext
29 lines
955 B
Plaintext
http {
|
|
server {
|
|
listen 127.0.0.1:8443 ssl;
|
|
server_name api.example.com;
|
|
ssl_certificate /etc/nginx/certs/api.example.com.crt;
|
|
ssl_certificate_key /etc/nginx/certs/api.example.com.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
location /readyz {
|
|
allow 127.0.0.1;
|
|
allow ::1;
|
|
deny all;
|
|
proxy_pass http://127.0.0.1:8080;
|
|
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 https;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
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 https;
|
|
}
|
|
}
|
|
}
|