mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-03-18 18:14:02 +00:00
Fix: remove nginx default virtualhost
This commit is contained in:
parent
31fc3a1098
commit
9a79ffa93d
@ -1,6 +1,7 @@
|
||||
FROM nginx:alpine
|
||||
RUN apk --no-cache add openssl
|
||||
COPY nginx_entrypoint.sh /nginx_entrypoint.sh
|
||||
COPY virtualhost.conf /etc/nginx/conf.d/default.conf
|
||||
RUN chmod +x /nginx_entrypoint.sh
|
||||
ENTRYPOINT ["/nginx_entrypoint.sh"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
@ -37,7 +37,7 @@ services:
|
||||
depends_on:
|
||||
- wireguard-webadmin
|
||||
|
||||
nginx:
|
||||
wireguard-webadmin-nginx:
|
||||
container_name: wireguard-webadmin-nginx
|
||||
restart: unless-stopped
|
||||
image: nginx:alpine
|
||||
@ -45,7 +45,6 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile_nginx
|
||||
volumes:
|
||||
- ./virtualhost.conf:/etc/nginx/conf.d/wireguard-webadmin.conf
|
||||
- static_volume:/static
|
||||
- https_cert:/certificate
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user