Application failed to respond with 502 bad gateway for my simple PHP + HTML
tonwayer
TRIALOP

a year ago

I deployed a simple PHP + HTML monorepo. But i can't access it with public URL.
Build log show successful docker install process. I was using Nixpacks automatically.
And deploy log shows it is listening on 8080. But public url was set 9000 automatically. I tried to change it to 9000 on settings section. Then it shows 403 gateway error.
It is simple PHP + HTML page. I didn't use any other php frameworks like Laravel. It works well on my local machine when I host it with XAMPP.

3 Replies

a year ago

Can you try changing the public URL to point to port 8080 instead?


procodershekhar
FREE

a year ago

i have the same issue


dev

Can you try changing the public URL to point to port 8080 instead?

tonwayer
TRIALOP

a year ago

If I set it to 8080, it shows ngnix 403 forbidden error.


Loading...