Files
NexaVPN/public-web/Dockerfile
nessi 65e74c6832 feat: add public-facing web interface with domain-based routing
Add public-web service with static landing page for client enrollment and device provisioning. Add public-web container to docker-compose with port 8082. Configure nginx reverse proxy with domain-based routing: admin-vpn.nesterovic.cc for admin interface and vpn.nesterovic.cc for public interface. Add proxy headers for X-Real-IP, X-Forwarded-For and X-Forwarded-Proto to both server blocks. Create public-web Dockerfile with nginx serving
2026-03-17 22:09:37 +01:00

9 lines
436 B
Docker

FROM nginx:1.27-alpine
COPY public-web/index.html /usr/share/nginx/html/index.html
COPY public-web/styles.css /usr/share/nginx/html/styles.css
COPY admin-web/public/NexaVPN_Logo.png /usr/share/nginx/html/NexaVPN_Logo.png
COPY admin-web/public/NexaVPN_Logo_Only.png /usr/share/nginx/html/NexaVPN_Logo_Only.png
COPY admin-web/public/favicon.ico /usr/share/nginx/html/favicon.ico
COPY public-web/nginx.conf /etc/nginx/conf.d/default.conf