Solved Nginx reverse proxy problem with subdomains
-
You should be able to do
semanage port -a -t http_port_t -p tcp 4567
Then if you do
semanage port -l | egrep '(^http_port_t)'
it should output the list of ports with that context
http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000
-
If it says 4567 is already assigned a label you can change it to:
semanage port -m -t http_port_t -p tcp 4567
Then if you do the port list it should show up in there.
-
@johnhooks said:
semanage port -m -t http_port_t -p tcp 4567
I had to add
semanage
first but then it worked.