Skip to content

Commit

Permalink
fix location of nginx config file
Browse files Browse the repository at this point in the history
use bash in Dockerfile

fix nginx config file
  • Loading branch information
wiedehopf committed May 9, 2024
1 parent 5ccdfb1 commit 405dafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ghcr.io/sdr-enthusiasts/docker-baseimage:base

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008,DL3003,SC1091
RUN set -x && \
#
Expand Down
2 changes: 1 addition & 1 deletion rootfs/etc/nginx.conf → rootfs/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ http {
server {
server_name _;
listen 80 default_server;
root /var/www/html
root /var/www/html;

error_page 500 502 503 504 /50x.html;

Expand Down

0 comments on commit 405dafa

Please sign in to comment.