mirror of
https://github.com/monero-project/monero-docs.git
synced 2024-12-22 19:49:22 +00:00
Dockerfile_coolify: add Onion-Location header
Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com>
This commit is contained in:
parent
6950bc2d63
commit
2b8fdcc6cd
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ COPY --from=builder /monero-docs/public /usr/share/nginx/html
|
||||||
# Inline Nginx configuration
|
# Inline Nginx configuration
|
||||||
RUN echo 'server { \
|
RUN echo 'server { \
|
||||||
listen 80; \
|
listen 80; \
|
||||||
|
add_header Onion-Location http://xmrdoc6phnvjbf5hmjbwdfu47zavzfngymlnwhs2gyxxpxmad4c65kyd.onion$request_uri; \
|
||||||
root /usr/share/nginx/html; \
|
root /usr/share/nginx/html; \
|
||||||
index index.html index.htm; \
|
index index.html index.htm; \
|
||||||
error_page 404 /404.html; \
|
error_page 404 /404.html; \
|
||||||
|
|
Loading…
Reference in a new issue