Skip to content

Commit

Permalink
proxy_redirect off;
Browse files Browse the repository at this point in the history
  • Loading branch information
ocruze committed Jul 18, 2024
1 parent d97bbf5 commit 2e0b5b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ http {
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

server {
listen 8082;
listen [::]:8082;
Expand All @@ -36,7 +39,7 @@ http {

# Serve static files
location /documentation {
absolute_redirect off;
proxy_redirect off;
alias /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /404.html;
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
# Publish semver tags as releases.
tags: ["v*.*.*"]
branches: ["main"]

env:
# Use docker.io for Docker Hub if empty
Expand Down

0 comments on commit 2e0b5b6

Please sign in to comment.