Fix frontend nginx to use Railway PORT variable

- Use envsubst to inject PORT at runtime
- Template nginx.conf with ${PORT} placeholder

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Michael Chihlas
2026-01-31 23:29:05 -05:00
parent f6bc4b0e40
commit c2c126d0cd
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
server {
listen 80;
listen ${PORT};
server_name _;
root /usr/share/nginx/html;
index index.html;