Mark Felder
e04e16bbc0
Do not strip Cache-Control headers from media. Trust the Pleroma backend.
4 anni fa
Mark Felder
05da5f5cca
Update Copyrights
4 anni fa
minibikini
f9380289eb
Add `remote_ip` plug
4 anni fa
feld
df3feb9412
Make it obvious how to support dual stack for MongooseIM
4 anni fa
kPherox
99b4847da3
Fix missing changes in pleroma/pleroma!1197
4 anni fa
rinpatch
997e766929
Remove sudo in the nginx config command example
5 anni fa
rinpatch
c013d3f3c8
Fix the webroot method in the nginx config
5 anni fa
rinpatch
ddf5e6254a
Fix nginx webroot method config
5 anni fa
feld
abedcca349
Sample Mongoose IM config.
Change domain, ensure paths to PEM files are correct, and this is good to go.
5 anni fa
feld
abc15b6dcc
Improve Varnish config. We set sane headers from the backend now.
5 anni fa
Alfie Pates
356c047759
explicitly set reverse proxy upstream to IPv4
since Pleroma.Web.Endpoint binds on IPv4 only and `localhost.` resolves to
[::0] on some systems
fixes #930 .
5 anni fa
Dominik V. Salonen
498c96d458
Add supervisord configuration
5 anni fa
Haelwenn (lanodan) Monnier
378b964d8e
installation/download-mastofe-build.sh: Add copyright header
[ci skip]
5 anni fa
Haelwenn (lanodan) Monnier
b421dd3dd2
installation/download-mastofe-build.sh: Add mastofe CI-artifacts download
[ci skip]
5 anni fa
Horsemans
10a9682596
ssl_trusted_certificate should point to chain.pem if we're demonstrating LetsEncrypt: https://community.letsencrypt.org/t/howto-ocsp-stapling-for-nginx/13611/5
5 anni fa
Kenneth Zhao
e1bdaaa3fe
need to put back ipv4 listen instruct
5 anni fa
PEA
d3a6c065a4
Add ipv6 handling to pleroma.nginx
Replaces `listen 80` with `listen [::]:80`, same with 443
5 anni fa
faried nawaz
c75e643a72
apache config: add instructions for mediaproxy.
5 anni fa
shibayashi
d1752a81a8
Update service files of OpenRC and systemd to new recommended paths
5 anni fa
shibayashi
1d8b578bb7
Recommend the acme-challenge path that is used in the installation guides
5 anni fa
shibayashi
e868cfe619
Add /media to Caddy cache
5 anni fa
vaartis
9e43a28bc3
Update the openrc service's retry with the correct format
5 anni fa
shibayashi
2a818a3e77
Add comments and change default path of the Mix binary.
5 anni fa
Mark Felder
cc3a83a730
Fix nginx caching issues
Nginx is currently not caching data because proxy_buffering needs to be
enabled for caching to work at all, and we are receiving a Cache-Control
header from Pleroma that states "max-age=0, private, must-revalidate"
Even disregarding the Cache-Control header that should actually be set
to "public, max-age=1209600" as defined in the reverse_proxy code, we
don't want to obey this header at all as it overrides our Nginx caching
rules.
5 anni fa
Mark Felder
efaa41fad2
Consistent intentation
5 anni fa
Mark Felder
fda942c329
Cache partial objects for 10 minutes
This enables caching/streaming of chunked responses
5 anni fa
Mark Felder
ce224ba5f0
Streaming is enabled by default
Support more filetypes for caching static media
5 anni fa
shibayashi
64035201b5
Security/Drops the sysadmin privilege from the daemon
5 anni fa
scarlett
4b40e4188c
Simplify the NetBSD rc script.
5 anni fa
scarlett
9d3eda1959
Add an rc.d script for NetBSD.
5 anni fa
nonlinear
75f2177d5b
Update/add OpenBSD config files
5 anni fa
nonlinear
04513a13e0
Added init file for OpenBSD
5 anni fa
Mark Felder
d56772c813
proxy buffering still needs to be off
5 anni fa
Mark Felder
48c4f88ffd
Update proxy config to improve behavior and allow compatibility with Safari on MacOS and iOS
5 anni fa
href
97b00d366f
reverse_proxy: more headers
5 anni fa
shibayashi
124a9bb7a5
Add MIX_ENV=prod
5 anni fa
William Pitcock
e4bd5a6950
example configs: kill STS/CT headers
5 anni fa
William Pitcock
057a9017b3
example configs: remove obsolete CSP configuration
5 anni fa
William Pitcock
fd918863aa
nginx example config: remove CORS headers, now managed by CORSPlug.
5 anni fa
Hakaba Hitoyo
3ea4f9ac8d
Remove Access-Control-Allow-Origin
5 anni fa
shibayashi
800d233631
Use example.tld so a single search and replace works
5 anni fa
shibayashi
941f9a888c
Update instructions
5 anni fa
shibayashi
732d3fce73
Use the same example domain in all config examples
5 anni fa
shibayashi
56c49513e0
Use the server name as variable
5 anni fa
shibayashi
043cb7138e
Add a little bit more detail in the comments.
5 anni fa
shibayashi
0a58428de6
Add some security related directives to the systemd service example
5 anni fa
barrucadu
a32e013909
Relax form-action content security policy
'self' only allows forms submitted to the same origin, which
breaks the "remote follow" form. To allow remote following,
we want to allow forms to be submitted to any host.
5 anni fa
shibayashi
8a4e2f48bf
installation/pleroma-apache.conf: OCSP stapling needs to be outside of the virtualhost directive
5 anni fa
shibayashi
d027c53d75
Add frame-ancestors 'none' to all configs
5 anni fa
shibayashi
d035566116
installation/pleroma.nginx: Add 'always' to the security headers, so that they are included regardless of the status code
5 anni fa