shibayashi
d027c53d75
Add frame-ancestors 'none' to all configs
6 years ago
shibayashi
d035566116
installation/pleroma.nginx: Add 'always' to the security headers, so that they are included regardless of the status code
6 years ago
shibayashi
64388c420a
installation/pleroma-apache.conf: Add TLS configuration and security headers
6 years ago
shibayashi
3487e15963
installation/pleroma.vcl: Add HTTP security headers
6 years ago
shibayashi
82e661cd07
installation/caddyfile-pleroma.example: Add Content-Security-Policy
6 years ago
Haelwenn (lanodan) Monnier
0fd2eaf7af
installation/pleroma.nginx: Add Content-Security-Policy
...
Closes: https://git.pleroma.social/pleroma/pleroma/issues/266
6 years ago
shibayashi
bff5ed154f
Improve example Caddyfile
6 years ago
vaartis
9c5ca9e15e
Add an OpenRC service
6 years ago
Artik Banana
394d0c94c4
Add comment about TLS curves for older servers.
6 years ago
dex
750cfbf38d
* fix nginx 1.15 warning:
...
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead
6 years ago
Artik Banana
93c614bf13
* Removed TLSv1 and TLSv1.1
...
* Added OCSP Stapling
* Added SSL Cache
* Changed ciphers
* Specified ECDH curves
6 years ago
Artik Banana
c645a8de2b
Security upgrades:
...
* Removed TLSv1 and TLSv1.1
* Added OCSP Stapling
* Added SSL Cache
* Changed ciphers
* Specified ECDH curves
6 years ago
witti
13925e0eb3
caddy config example
6 years ago
Dominik V. Salonen
a6fd9c4b00
Update pleroma.nginx
...
proxy_ignore_client_abort will continue to fetch from upstream even if a client aborts the connection. This is highly recommended when cache is being used. If a client leaves/refreshes the page while a user's avatar or some other media is halfway loaded, the cached copy might in some cases be broken. Leaving future requests to the same URL broken until cache expires.
6 years ago
Niklas Poslovski
f0e8194a71
Repair some access-control headers required for third-party webclients
6 years ago
Niklas Poslovski
d81a4e9280
Add access-control-expose-headers to Nginx default config
6 years ago
lambda
bb864e96ad
Merge branch 'patch-2' into 'develop'
...
Nginx config - secure defaults
See merge request pleroma/pleroma!146
6 years ago
lambda
17bcff6445
Merge branch 'feld-varnish' into 'develop'
...
More varnish fixes
See merge request pleroma/pleroma!149
6 years ago
Normandy
38f5f6f659
Remove alias directive in service file
...
Systemd will complain otherwise.
6 years ago
Mark Felder
a85d051675
Don't strip headers from backend for /notice/ either
6 years ago
Mark Felder
4233b1504f
Caching notice URLs does not produce pleasant results
6 years ago
lambda
a9baf955fa
Merge branch 'feld-varnish' into 'develop'
...
Caching /objects/ URLs breaks them in Mastoweb as they don't redirect to the /notice/
See merge request pleroma/pleroma!110
6 years ago
Artik Banana
0a1fd8adf0
Added headers for a more secure default.
6 years ago
csaurus
1c6a691570
Add info about certbot with the webroot plugin to pleroma.nginx
7 years ago
Mark Felder
8dbb4c6c50
Remove hack for /about/more as we are doing this in Pleroma now
7 years ago
Mark Felder
5256c712dc
Caching /objects/ URLs breaks them in Mastoweb as they don't redirect to the /notice/
...
Not sure why it matters if you cache it or not. What's different about this JSON blob?
Perhaps it's a header that needs to be set for the redirect to happen?
7 years ago
lambda
6ff583e5e1
Merge branch 'feld-varnish' into 'develop'
...
Remove attempted caching of toots
See merge request pleroma/pleroma!106
7 years ago
Mark Felder
fcb32345d7
Remove attempted caching of toots
...
This does not work as expected. We should not attempt to be clever here.
Varnish will do the right thing if we just teach Pleroma to set headers
properly for content we know can be cached.
7 years ago
Stanislas
73ca18744e
Indentation for Apache vhost
7 years ago
lambda
210755ac46
Merge branch 'develop' into 'develop'
...
Fix max upload size in nginx config.
See merge request pleroma/pleroma!102
7 years ago
nepfag
5cb3d441bc
Apache config for everything on one host.
7 years ago
Hector A. Escobedo
7e262c2997
Fix max upload size in nginx config.
...
The built-in nginx default does not allow users to upload images
larger than 1 MB. This increases the maximum request size to match
the default Pleroma config upload_limit parameter. Some helpful
comments were also added.
7 years ago
lambda
f5943f4a59
Delete Caddyfile
...
It doesn't work correctly.
7 years ago
William Pitcock
d8464b603e
nginx: document how to enable CORS support
7 years ago
lambda
f8f3abe1be
Update pleroma.nginx
7 years ago
Mark Felder
c8c0519f52
Clarify vcl_synth is for all 301s we generate
7 years ago
Mark Felder
bdc522da1b
Add ability to PURGE the cache
...
Someday Pleroma will learn this skill :-)
7 years ago
Mark Felder
1d06f5037d
Add example Varnish VCL
7 years ago
lambda
060ac6cb95
Update pleroma.nginx
7 years ago
lambda
189e9d63bc
Merge branch 'feature/caddyfile' into 'develop'
...
Add a Caddyfile.
See merge request pleroma/pleroma!50
7 years ago
lambda
46c8f79cd7
Merge branch 'feature/cross-origin' into 'develop'
...
Access-Control-Allow-Origin
See merge request pleroma/pleroma!52
7 years ago
Hakaba Hitoyo
9c0c40cf1e
Access-Control-Allow-Origin
7 years ago
eal
6678fe3217
Add a Caddyfile.
7 years ago
Hakaba Hitoyo
aceef36e56
Correct pleroma.nginx
7 years ago
href
9093b2cf49
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
href
d1806ec07f
nginx sample config, quickly tested
7 years ago
eal
afd0ea37f3
Add websocket upgrade to example nginx config.
7 years ago
Henry Jameson
a6e89ae6a3
disable sslv3
7 years ago
Henry Jameson
9112eda14f
First attempt at installation documentation
7 years ago