-
Notifications
You must be signed in to change notification settings - Fork 0
vm broker ‐ quick nginx server
Allan Roger Reid edited this page Dec 4, 2023
·
1 revision
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/
Run
sudo apt update
sudo apt install nginx
sudo vi /etc/nginx/sites-available/default
Then change
listen 80 default_server;
listen [::]:80 default_server;
to
listen 10080 default_server;
listen [::]
sudo systemctl start nginx
or
sudo nginx -t && sudo nginx -s reload
Curl or navigate to the site:port indicated e.g. http://test-nginx-80.minio.training:10080
If you can cURL but not navigate, then you may have to add the high port to your list of allowed ports e.g. in Firefox modify the following parameter network.security.ports.banned.override
with 10080
. See https://support.mozilla.org/en-US/questions/1083282