Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Local access(LAN) with another port

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
arthurcto
Posts: 1
Joined: Thu Nov 21, 2019 3:40 pm

Os: Debian 8x
Web: apache + nginx
Local access(LAN) with another port
  • Quote

Post by arthurcto » Thu Nov 21, 2019 8:10 pm

Hello everyone

I have a home server, and i'm migrating to a new server(Raspbberry to Intel Nuc).
In the raspberry all the configuration, is done manually(Only Apache).
I have 2 sites on raspberry, one automation system and nextcloud, externally it works, as
example.com and nextcloud.exemple.com .
For internal access(lan), i'm using 192.168.0.200:81 for system and 192.168.0.200:82 for nextcloud and work's very well.
In the new server, i've install vesta cp, and i try config this way.

system
server {
listen 192.168.0.200:80;
listen 192.168.0.200:81;
}
nextcloud
server {
listen 192.168.0.200:80;
listen 192.168.0.200:82;
}

But this way, i access ever the system in 81 or 82 port.

Have another form to do this?


Thank you for all
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password