I am asking for how to configure nginx. For now i tried some variations and stack on this:
server {
listen 80 default_server;
listen [::]:80 default_server;
root /srv/appfolder/build;
index index.html;
server_name my_server_ip_without_http;
location / {
try_files $uri $uri/ =404;
}
}
~
Now- when i hitting the server IP i got :
Welcome to nginx!
For now I am trying only http for beginning. Is it possible to make it work in format IP:port/pagename ? or IP:pagename? Is it possible to serve several apps on different ports and enable app page uri work?