63b7f29c41
* Add Outline * Format config.json * Coderabbitai * Fix description.md * Make proposed changes * Make proposed changes * Make proposed changes * Update docker-compose.yml Forgot to persist storage * fix: use right service names * fix: use right service names everywhere * Attempt to fix authentication errors * Update docker-compose.yml * Update nginx conf * Fix authentication * No need for extra config --------- Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com> Co-authored-by: Stavros <steveiliop56@gmail.com>
32 lines
719 B
Plaintext
32 lines
719 B
Plaintext
server {
|
|
listen 80;
|
|
client_max_body_size 100m;
|
|
|
|
# Outline Wiki
|
|
location / {
|
|
proxy_pass http://outline:3000;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Scheme $scheme;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_redirect off;
|
|
}
|
|
|
|
# Static file FOR OIDC Server
|
|
location /uc/static {
|
|
alias /uc/static_root;
|
|
}
|
|
|
|
# OIDC Server
|
|
location /uc {
|
|
proxy_set_header SCRIPT_NAME /uc;
|
|
proxy_pass http://outline-oidc:8000;
|
|
}
|
|
}
|