Linux/Nginx: Difference between revisions
< Linux
(Die Seite wurde neu angelegt: „* nginx ** SSL“) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* nginx | * nginx | ||
** SSL | ** SSL | ||
<blockquote> | |||
<pre> | |||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt | |||
</pre> | |||
</blockquote> | |||
== htpasswd == | |||
<pre> | |||
sudo sh -c "echo -n 'username:' >> .htpasswd" | |||
sudo sh -c "openssl passwd -apr1 >> .htpasswd" | |||
</pre> | |||
== Proxy == | |||
* | |||
[[Category:Linux/Services]] | |||
[[Category:Linux]] |
Latest revision as of 11:01, 25 June 2019
- nginx
- SSL
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
htpasswd
sudo sh -c "echo -n 'username:' >> .htpasswd" sudo sh -c "openssl passwd -apr1 >> .htpasswd"