diff options
author | shibayashi <shibayashi@cypherpunk.observer> | 2018-11-03 23:44:26 +0100 |
---|---|---|
committer | shibayashi <shibayashi@cypherpunk.observer> | 2018-11-03 23:44:26 +0100 |
commit | 732d3fce73122536beaddff0d97adc650655c1fe (patch) | |
tree | 9d538a4144646104803cef1dd95643e9bd869d08 /installation/pleroma.nginx | |
parent | 56c49513e0f66fe6e40724c6b7f18c29263c77ca (diff) | |
download | pleroma-732d3fce73122536beaddff0d97adc650655c1fe.tar.gz pleroma-732d3fce73122536beaddff0d97adc650655c1fe.zip |
Use the same example domain in all config examples
Diffstat (limited to 'installation/pleroma.nginx')
-rw-r--r-- | installation/pleroma.nginx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 94db8d685..202e4a620 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -2,7 +2,7 @@ # # Simple installation instructions: # 1. Install your TLS certificate, possibly using Let's Encrypt. -# 2. Replace 'example.tld' with your instance's domain wherever it appears. +# 2. Replace 'pleroma.example.tld' with your instance's domain wherever it appears. # 3. Copy this file to /etc/nginx/sites-available/ and then add a symlink to it # in /etc/nginx/sites-enabled/ and run 'nginx -s reload' or restart nginx. @@ -10,8 +10,8 @@ proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cac inactive=720m use_temp_path=off; server { + server_name pleroma.example.tld; listen 80; - server_name example.tld; return 301 https://$server_name$request_uri; # Uncomment this if you need to use the 'webroot' method with certbot. Make sure @@ -47,7 +47,7 @@ server { ssl_stapling on; ssl_stapling_verify on; - server_name example.tld; + server_name pleroma.example.tld; gzip_vary on; gzip_proxied any; |