projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03afee3
)
need to put back ipv4 listen instruct
author
Kenneth Zhao
<ken@epenguin.com>
Tue, 26 Feb 2019 16:41:37 +0000
(08:41 -0800)
committer
Kenneth Zhao
<ken@epenguin.com>
Tue, 26 Feb 2019 16:41:37 +0000
(08:41 -0800)
installation/pleroma.nginx
patch
|
blob
|
history
diff --git
a/installation/pleroma.nginx
b/installation/pleroma.nginx
index 66a0e987c65d8aff33d90da400760f7a3c89755d..8709f2cb774d44e5831409bf57927b8ee94a549f 100644
(file)
--- a/
installation/pleroma.nginx
+++ b/
installation/pleroma.nginx
@@
-11,6
+11,8
@@
proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cac
server {
server_name example.tld;
+
+ listen 80;
listen [::]:80;
return 301 https://$server_name$request_uri;
@@
-29,6
+31,9
@@
server {
ssl_session_cache shared:ssl_session_cache:10m;
server {
+ server_name example.tld;
+
+ listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_session_timeout 5m;
@@
-48,8
+53,6
@@
server {
ssl_stapling on;
ssl_stapling_verify on;
- server_name example.tld;
-
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;