...
Code Block |
---|
sudo systemctl enable nginx.service sudo systemctl start nginx.service |
Note for SELinux
On CentOS 7, in order to use Nginx as a proxy service (as we are doing in these examples), it must be allowed access to the network:
sudo setsebool -P httpd_can_network_connect 1
Firewalls
In order to prevent direct access to the web application and force traffic to the TLS listener running in Nginx, you must enable the Space’s firewall for port 443
: How do I use the Firewall in Spinup Spaces?
...