-
hi everyone. this is so strange for me.
I conclude something to run, when Nginx is run, one minute later there is service kill the Nginx. this is my service in K3S
nginx configuration, i don't do any change
and I do add file simple file to my conf
as I mentioned before it's working while startup the ubuntu, after about a minute Nginx cannot be reached. thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the reason the main reason is nginx-ingress, ufw and Iptables
what I do is remove the ingress-nginx from my machine
and deploy nginx from the machine check first if you already deploy the service if not start to deploy your own nginx check once more if already there allow the public and local addresses to access our Nginx service check your Nginx port number, that had picked by Kubernetes randomly test your Nginx service #curl localhost:30249 change local and Public addresses with your IP address, and never forget to put the port number. good luck. |
Beta Was this translation helpful? Give feedback.
I found the reason the main reason is nginx-ingress, ufw and Iptables
after my service Nginx running my Iptables blocked the port 80 and 443 default, you can remove your iptables rule, but I choose to remove my nginx-ingress :D because I don't need it now.