Closed ItsIgnacioPortal closed 1 year ago
nvm I figured it out. You just have to add this to the bottom of the nginx config file:
server {
# the port your site will be served on
listen 8002;
# the domain name it will serve for
server_name internal.etesync.hax.vip; # substitute your machine's IP address or domain name
charset utf-8;
# Uncomment this to enable access logs
# access_log /home/pinkdev1/web-access-log.log;
location / {
alias /home/pinkdev1/etebase/etesync-web/;
}
}
And the contents of the zip should be in /home/pinkdev1/etebase/etesync-web/
Don't forget to run sudo service nginx reload
after modifying the config file!
The guide for the etesync server recommends that we use this stack for production:
How can etesync-web be deployed with this stack? I've tried to extract the files in
/home/pinkdev1/etesync/etesync-web
and then adding an alias to the main server block but that doesn't work:Going to https://internal.etesync.hax.vip:8001/web/ just shows me a 404 not found page. How can I set this up? I don't want to have to run another web server when I already have an nginx instance