mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-09 09:57:59 +00:00
remove extra whitespace in relay.nginx
This commit is contained in:
parent
7a9d346642
commit
cdb10547ec
|
@ -28,14 +28,14 @@ server {
|
||||||
# logging, mostly for debug purposes. Disable if you wish.
|
# logging, mostly for debug purposes. Disable if you wish.
|
||||||
access_log /srv/www/relay.<yourdomain>/logs/access.log;
|
access_log /srv/www/relay.<yourdomain>/logs/access.log;
|
||||||
error_log /srv/www/relay.<yourdomain>/logs/error.log;
|
error_log /srv/www/relay.<yourdomain>/logs/error.log;
|
||||||
|
|
||||||
ssl_protocols TLSv1.2;
|
ssl_protocols TLSv1.2;
|
||||||
ssl_ciphers EECDH+AESGCM:EECDH+AES;
|
ssl_ciphers EECDH+AESGCM:EECDH+AES;
|
||||||
ssl_ecdh_curve secp384r1;
|
ssl_ecdh_curve secp384r1;
|
||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
ssl_session_cache shared:SSL:10m;
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
|
||||||
# ssl certs.
|
# ssl certs.
|
||||||
ssl_certificate /usr/local/etc/letsencrypt/live/relay.<yourdomain>/fullchain.pem;
|
ssl_certificate /usr/local/etc/letsencrypt/live/relay.<yourdomain>/fullchain.pem;
|
||||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/relay.<yourdomain>/privkey.pem;
|
ssl_certificate_key /usr/local/etc/letsencrypt/live/relay.<yourdomain>/privkey.pem;
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ server {
|
||||||
|
|
||||||
# sts, change if you care.
|
# sts, change if you care.
|
||||||
# add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
|
# add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
|
||||||
|
|
||||||
# uncomment this to use a static page in your webroot for your root page.
|
# uncomment this to use a static page in your webroot for your root page.
|
||||||
#location = / {
|
#location = / {
|
||||||
# index index.html;
|
# index index.html;
|
||||||
|
|
Loading…
Reference in a new issue