rinpatch
ddf5e6254a
Fix nginx webroot method config
pirms 5 gadiem
feld
abedcca349
Sample Mongoose IM config.
Change domain, ensure paths to PEM files are correct, and this is good to go.
pirms 5 gadiem
feld
abc15b6dcc
Improve Varnish config. We set sane headers from the backend now.
pirms 5 gadiem
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 .
pirms 5 gadiem
Dominik V. Salonen
498c96d458
Add supervisord configuration
pirms 5 gadiem
Haelwenn (lanodan) Monnier
378b964d8e
installation/download-mastofe-build.sh: Add copyright header
[ci skip]
pirms 5 gadiem
Haelwenn (lanodan) Monnier
b421dd3dd2
installation/download-mastofe-build.sh: Add mastofe CI-artifacts download
[ci skip]
pirms 5 gadiem
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
pirms 5 gadiem
Kenneth Zhao
e1bdaaa3fe
need to put back ipv4 listen instruct
pirms 5 gadiem
PEA
d3a6c065a4
Add ipv6 handling to pleroma.nginx
Replaces `listen 80` with `listen [::]:80`, same with 443
pirms 5 gadiem
faried nawaz
c75e643a72
apache config: add instructions for mediaproxy.
pirms 5 gadiem
shibayashi
d1752a81a8
Update service files of OpenRC and systemd to new recommended paths
pirms 5 gadiem
shibayashi
1d8b578bb7
Recommend the acme-challenge path that is used in the installation guides
pirms 5 gadiem
shibayashi
e868cfe619
Add /media to Caddy cache
pirms 5 gadiem
vaartis
9e43a28bc3
Update the openrc service's retry with the correct format
pirms 5 gadiem
shibayashi
2a818a3e77
Add comments and change default path of the Mix binary.
pirms 5 gadiem
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.
pirms 5 gadiem
Mark Felder
efaa41fad2
Consistent intentation
pirms 5 gadiem
Mark Felder
fda942c329
Cache partial objects for 10 minutes
This enables caching/streaming of chunked responses
pirms 5 gadiem
Mark Felder
ce224ba5f0
Streaming is enabled by default
Support more filetypes for caching static media
pirms 5 gadiem
shibayashi
64035201b5
Security/Drops the sysadmin privilege from the daemon
pirms 5 gadiem
scarlett
4b40e4188c
Simplify the NetBSD rc script.
pirms 5 gadiem
scarlett
9d3eda1959
Add an rc.d script for NetBSD.
pirms 5 gadiem
nonlinear
75f2177d5b
Update/add OpenBSD config files
pirms 5 gadiem
nonlinear
04513a13e0
Added init file for OpenBSD
pirms 5 gadiem
Mark Felder
d56772c813
proxy buffering still needs to be off
pirms 5 gadiem
Mark Felder
48c4f88ffd
Update proxy config to improve behavior and allow compatibility with Safari on MacOS and iOS
pirms 5 gadiem
href
97b00d366f
reverse_proxy: more headers
pirms 5 gadiem
shibayashi
124a9bb7a5
Add MIX_ENV=prod
pirms 5 gadiem
William Pitcock
e4bd5a6950
example configs: kill STS/CT headers
pirms 5 gadiem
William Pitcock
057a9017b3
example configs: remove obsolete CSP configuration
pirms 5 gadiem
William Pitcock
fd918863aa
nginx example config: remove CORS headers, now managed by CORSPlug.
pirms 5 gadiem
Hakaba Hitoyo
3ea4f9ac8d
Remove Access-Control-Allow-Origin
pirms 5 gadiem
shibayashi
800d233631
Use example.tld so a single search and replace works
pirms 5 gadiem
shibayashi
941f9a888c
Update instructions
pirms 5 gadiem
shibayashi
732d3fce73
Use the same example domain in all config examples
pirms 5 gadiem
shibayashi
56c49513e0
Use the server name as variable
pirms 5 gadiem
shibayashi
043cb7138e
Add a little bit more detail in the comments.
pirms 5 gadiem
shibayashi
0a58428de6
Add some security related directives to the systemd service example
pirms 5 gadiem
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.
pirms 5 gadiem
shibayashi
8a4e2f48bf
installation/pleroma-apache.conf: OCSP stapling needs to be outside of the virtualhost directive
pirms 5 gadiem
shibayashi
d027c53d75
Add frame-ancestors 'none' to all configs
pirms 5 gadiem
shibayashi
d035566116
installation/pleroma.nginx: Add 'always' to the security headers, so that they are included regardless of the status code
pirms 5 gadiem
shibayashi
64388c420a
installation/pleroma-apache.conf: Add TLS configuration and security headers
pirms 5 gadiem
shibayashi
3487e15963
installation/pleroma.vcl: Add HTTP security headers
pirms 5 gadiem
shibayashi
82e661cd07
installation/caddyfile-pleroma.example: Add Content-Security-Policy
pirms 5 gadiem
Haelwenn (lanodan) Monnier
0fd2eaf7af
installation/pleroma.nginx: Add Content-Security-Policy
Closes: https://git.pleroma.social/pleroma/pleroma/issues/266
pirms 5 gadiem
shibayashi
bff5ed154f
Improve example Caddyfile
pirms 5 gadiem
vaartis
9c5ca9e15e
Add an OpenRC service
pirms 5 gadiem
Artik Banana
394d0c94c4
Add comment about TLS curves for older servers.
pirms 6 gadiem