Add nginx proxy for OG meta tags and CSS injection
Traefik was routing directly to Outline, so the nginx.conf was unused. Add nginx as an intermediary service to enable sub_filter injection of OG tags on the homepage and custom CSS on all pages.
This commit is contained in:
parent
45b1f4331c
commit
fdf96fe820
2 changed files with 19 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ http {
|
|||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
client_max_body_size 50M;
|
||||
client_max_body_size 100M;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
|
|
@ -32,7 +32,7 @@ http {
|
|||
application/xml+rss image/svg+xml;
|
||||
|
||||
upstream outline {
|
||||
server 127.0.0.1:3100;
|
||||
server outline:3000;
|
||||
}
|
||||
|
||||
server {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue