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