Skip to content

Commit

Permalink
fix: docker nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Sep 14, 2024
1 parent 89b2ece commit 444d1a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
with:
context: .
file: ${{ matrix.images.path }}
push: ${{ github.ref == 'refs/heads/main' }}
push: true # ${{ github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down
5 changes: 2 additions & 3 deletions docker/faucet/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ $uri.html /index.html;
try_files $uri $uri/ =404;
}
gzip on;
gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml;
gzip off;
}
5 changes: 2 additions & 3 deletions docker/namadillo/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ $uri.html /index.html;
try_files $uri $uri/ =404;
}
gzip on;
gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml;
gzip off;
}

0 comments on commit 444d1a9

Please sign in to comment.