Skip to content

Commit a2ce596

Browse files
committed
disable port 80 default nginx site
Signed-off-by: Tully Foote <[email protected]>
1 parent 6ea8088 commit a2ce596

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

novnc_rocker/templates/novnc_snippet.Dockerfile.em

+5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ COPY supervisor.conf /root/.supervisor
2121
COPY novnc.conf /root/.supervisor/conf.d
2222
COPY nginx.conf /root/.supervisor/conf.d
2323

24+
2425
COPY self.pem /root/self.pem
2526
COPY .htpasswd /opt/noVNC
27+
28+
# Remove default nginx site
29+
RUN unlink /etc/nginx/sites-enabled/default
30+
# Setup our nginx site
2631
COPY rproxy-nginx-site /etc/nginx/sites-available
2732
RUN ln -s /etc/nginx/sites-available/rproxy-nginx-site /etc/nginx/sites-enabled/rproxy-nginx-site

0 commit comments

Comments
 (0)