Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
806a7c86
Commit
806a7c86
authored
4 years ago
by
Jan Hadrava
Browse files
Options
Downloads
Patches
Plain Diff
Doplnění doporučené produkční konfigurace
parent
a03c4bc1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-0
3 additions, 0 deletions
README.md
etc/nginx.site.example
+5
-2
5 additions, 2 deletions
etc/nginx.site.example
with
8 additions
and
2 deletions
README.md
+
3
−
0
View file @
806a7c86
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
etc/nginx.site.example
+
5
−
2
View file @
806a7c86
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;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment