Having trouble running nginx on EC2 instance

后端 未结 1 1726
别那么骄傲
别那么骄傲 2021-01-24 07:02

I installed Nginx with phusion passenger, but I am having trouble accessing the server. I am using the default configuration file, yet I never get a response from the server whe

1条回答
  •  囚心锁ツ
    2021-01-24 07:30

    Possible error-sources:

    • You use the internal EC2 ip and not the public.
    • You don't have any security policies set and you are hitting the EC2 firewall.
    • iptables is not configured correctly, disable it until it works without.
    • Nginx does not listen on the correct port. Use the default config.

    0 讨论(0)
提交回复
热议问题