Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lelux.fi
Wiki
Commits
10741449
Verified
Commit
10741449
authored
Mar 18, 2019
by
Elias Ojala
Browse files
ssl-params change resolver
parent
1c1badfd
Changes
3
Hide whitespace changes
Inline
Side-by-side
_includes/nginx/ssl-params.conf
View file @
10741449
...
...
@@ -14,7 +14,9 @@ ssl_prefer_server_ciphers on;
ssl_stapling
on
;
ssl_stapling_verify
on
;
resolver
1
.
1
.
1
.
1
1
.
0
.
0
.
1
valid
=
300
s
;
# Replace with your own resolvers if preferred
# This example is using UncensoredDNS, see https://uncensoreddns.org/ for details.
resolver
91
.
239
.
100
.
100
89
.
233
.
43
.
71
valid
=
300
s
;
resolver_timeout
5
s
;
add_header
X
-
Content
-
Type
-
Options
nosniff
;
...
...
certbot.md
View file @
10741449
...
...
@@ -115,7 +115,7 @@ ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key
/etc/letsencrypt/live/example.com/privkey.pem
;
# Replace with the domain's HSTS policy
add_header
Strict-Transport-Security
"max-age=63072000"
;
add_header
Strict-Transport-Security
"max-age=63072000"
always
;
```
## SSL params
...
...
wireguard.md
View file @
10741449
...
...
@@ -39,7 +39,7 @@ sudo reboot
## Generate keys
```
bash
wg genkey |
tee
privatekey | wg pubkey
>
publickey
umask
077
;
wg genkey |
tee
privatekey | wg pubkey
>
publickey
```
(recommended to run as
`root`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment