mirror of
https://github.com/monero-project/monero-docs.git
synced 2024-12-22 11:39:35 +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
|
||||
RUN echo 'server { \
|
||||
listen 80; \
|
||||
add_header Onion-Location http://xmrdoc6phnvjbf5hmjbwdfu47zavzfngymlnwhs2gyxxpxmad4c65kyd.onion$request_uri; \
|
||||
root /usr/share/nginx/html; \
|
||||
index index.html index.htm; \
|
||||
error_page 404 /404.html; \
|
||||
|
|
Loading…
Reference in a new issue