Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6025

Setting up HTML page on port 8083 in NGINX

$
0
0

I have been given a task in which I have to host an HTML page on port 8083. Now when I was followinf the steps of installing NGINX from this page there was this piece of code:

server {   listen 81;   listen [::]:81;   server_name example.ubuntu.com;   root /var/www/tutorial;   index index.html;   location / {           try_files $uri $uri/ =404;   }} 

My question is that if I replace 80 with 8083 will it do the trick and if yes then how can I check it?


Viewing all articles
Browse latest Browse all 6025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>