Nas-dude
Dabbler
- Joined
- Jul 27, 2019
- Messages
- 17
i want to access my nas from outside the internet, but i have something else on port 80, so i want to change it to port 8080
i tried editing using vi the file nginx.conf using this command
vi /etc/local/nginx/nginx.conf
i edited using vi the following part to 8080
server_name localhost;
listen 0.0.0:8080;
listen [::]:8080;
then to save the file, i typed "etc" ":" "wq" "enter"
which gave the message that it saved,
but when i reboot, the nginx.conf file goes back to 80
does anyone know what's going on?
help! thanks
i tried editing using vi the file nginx.conf using this command
vi /etc/local/nginx/nginx.conf
i edited using vi the following part to 8080
server_name localhost;
listen 0.0.0:8080;
listen [::]:8080;
then to save the file, i typed "etc" ":" "wq" "enter"
which gave the message that it saved,
but when i reboot, the nginx.conf file goes back to 80
does anyone know what's going on?
help! thanks
Last edited: