Apache - Updating paths for 1.5.0rc1 (#344)
Dieser Commit ist enthalten in:
Ursprung
e65ed605d3
Commit
7ff7949c6c
1 geänderte Dateien mit 10 neuen und 3 gelöschten Zeilen
|
@ -207,15 +207,22 @@ Setting up Mastodon behind Apache is possible as well, although you will need to
|
||||||
SSLCertificateFile example.pem
|
SSLCertificateFile example.pem
|
||||||
SSLCertificateKeyFile example.key
|
SSLCertificateKeyFile example.key
|
||||||
|
|
||||||
<LocationMatch "^/(emoji|packs|sounds|system)>
|
<LocationMatch "^/(assets|avatars|emoji|headers|packs|sounds|system)>
|
||||||
Header always set Cache-Control "public, max-age=31536000, immutable"
|
Header always set Cache-Control "public, max-age=31536000, immutable"
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
RequestHeader set X-Forwarded-Proto "https"
|
RequestHeader set X-Forwarded-Proto "https"
|
||||||
|
|
||||||
ProxyPass /500.html !
|
ProxyPass /500.html !
|
||||||
ProxyPassMatch ^(/.*\.(gif|png|svg|ico)$) !
|
ProxyPass /sw.js !
|
||||||
ProxyPassMatch ^/(emoji|packs|sounds|system) !
|
ProxyPass /robots.txt !
|
||||||
|
ProxyPass /manifest.json !
|
||||||
|
ProxyPass /browserconfig.xml !
|
||||||
|
ProxyPass /mask-icon.svg !
|
||||||
|
ProxyPassMatch ^(/.*\.(png|ico)$) !
|
||||||
|
ProxyPassMatch ^/(assets|avatars|emoji|headers|packs|sounds|system|.well-known/acme-challenge) !
|
||||||
|
|
||||||
ProxyPass /api/v1/streaming/ ws://localhost:4000/
|
ProxyPass /api/v1/streaming/ ws://localhost:4000/
|
||||||
ProxyPassReverse /api/v1/streaming/ ws://localhost:4000/
|
ProxyPassReverse /api/v1/streaming/ ws://localhost:4000/
|
||||||
ProxyPass / http://localhost:3000/
|
ProxyPass / http://localhost:3000/
|
||||||
|
|
Laden …
In neuem Issue referenzieren