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