nginx.conf - change listen port from 80 to 8080

This commit is contained in:
Andrii Bratanin 2023-11-02 01:58:46 +02:00 committed by GitHub
parent e87f4b1837
commit b0a4fa5fa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
server { server {
listen 80; listen 8080;
server_name localhost; server_name localhost;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
@ -7,4 +7,4 @@ server {
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
} }