Skip to content
Snippets Groups Projects
Commit 806a7c86 authored by Jan Hadrava's avatar Jan Hadrava
Browse files

Doplnění doporučené produkční konfigurace

parent a03c4bc1
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@
## Instalace na produkční server
# Pro systém s jádrem < 5.4 zvýšit net.core.somaxconn (jako root)
[ "`cat /proc/sys/net/core/somaxconn`" -lt 4096 ] && echo net.core.somaxconn=4096 >> /etc/sysctl.conf && sysctl -p
# Založit účet mo-web (jako root)
adduser --system mo-web --shell /bin/bash
loginctl enable-linger mo-web
......
server {
listen 195.113.20.177:443 ssl;
listen [2001:718:1e03:801::b1]:443 ssl;
listen 195.113.20.177:443 ssl reuseport;
listen [2001:718:1e03:801::b1]:443 ssl reuseport;
### Note: Option reuseport is global for whole Nginx and it can be
### specified only in one place for each ip:port combination. We
### suggest to move this option to default server configuration.
server_name mo.mff.cuni.cz;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment