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
2f6d1728
Commit
2f6d1728
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Přidána ukázková konfigurace pro Nginx
parent
a92348c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/nginx.site.example
+37
-0
37 additions, 0 deletions
etc/nginx.site.example
with
37 additions
and
0 deletions
etc/nginx.site.example
0 → 100644
+
37
−
0
View file @
2f6d1728
server {
listen 195.113.20.177:443 ssl;
listen [2001:718:1e03:801::b1]:443 ssl;
server_name mo.mff.cuni.cz;
ssl on;
ssl_certificate /etc/ssl/domains/mo.mff.cuni.cz/bundle.pem;
ssl_certificate_key /etc/ssl/domains/mo.mff.cuni.cz/privkey.pem;
ssl_dhparam /etc/ssl/dhparams.pem;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
client_max_body_size 1G;
### Production instance of OSMO
location /osmo {
include uwsgi_params;
uwsgi_pass unix:/akce/mo/osmo/var/osmo.sock;
}
location /osmo/static/ {
alias /akce/mo/osmo/static/;
}
location /osmo/assets/ {
location ~ ^/osmo/assets/[^/]+/(.*) {
alias /akce/mo/osmo/static/$1;
}
return 404;
}
location = /osmo/favicon.ico {
alias /akce/mo/osmo/static/favicon.ico;
}
}
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