Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
omni
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
liu-puppet-modules
omni
Commits
f5f6b0b2
Commit
f5f6b0b2
authored
1 year ago
by
Nils Olof Paulsson
Browse files
Options
Downloads
Patches
Plain Diff
forgotconffiles
parent
684bd69f
No related branches found
No related tags found
1 merge request
!1
Devel
Pipeline
#105292
passed
1 year ago
Stage: puppet
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/nginx.conf
+75
-0
75 additions, 0 deletions
files/nginx.conf
files/omni.conf
+31
-0
31 additions, 0 deletions
files/omni.conf
with
106 additions
and
0 deletions
files/nginx.conf
0 → 100644
+
75
−
0
View file @
f5f6b0b2
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user
nginx
;
worker_processes
auto
;
error_log
/var/log/nginx/error.log
;
pid
/run/nginx.pid
;
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include
/usr/share/nginx/modules/*.conf
;
events
{
worker_connections
1024
;
}
http
{
log_format
main
'
$remote_addr
-
$remote_user
[
$time_local
]
"
$request
"
'
'
$status
$body_bytes_sent
"
$http_referer
"
'
'"
$http_user_agent
"
"
$http_x_forwarded_for
"'
;
access_log
/var/log/nginx/access.log
main
;
sendfile
on
;
tcp_nopush
on
;
tcp_nodelay
on
;
keepalive_timeout
65
;
types_hash_max_size
2048
;
include
/etc/nginx/mime.types
;
default_type
application/octet-stream
;
# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include
/etc/nginx/conf.d/*.conf
;
# Redirect http -> https
server
{
listen
80
default_server
;
listen
[::]:80
default_server
;
server_name
omni.itn.liu.se
;
root
/usr/share/nginx/html
;
return
301
https://omni.itn.liu.se
$request_uri
;
}
# Settings for a TLS enabled server.
server
{
listen
443
ssl
http2
default_server
;
listen
[::]:443
ssl
http2
default_server
;
server_name
omni.itn.liu.se
;
root
/usr/share/nginx/html
;
ssl_certificate
"/etc/pki/tls/certs/letsencrypt-cert_chain-omni.itn.liu.se.pem"
;
ssl_certificate_key
"/etc/pki/tls/private/letsencrypt-omni.itn.liu.se.key"
;
ssl_session_cache
shared:SSL:1m
;
ssl_session_timeout
10m
;
ssl_ciphers
PROFILE=SYSTEM
;
ssl_prefer_server_ciphers
on
;
# Load configuration files for the default server block.
include
/etc/nginx/default.d/*.conf
;
location
/
{
proxy_pass
https://omni.itn.liu.se:8000
;
}
location
/static/
{
alias
/var/www/static/
;
}
error_page
404
/
;
}
}
This diff is collapsed.
Click to expand it.
files/omni.conf
0 → 100644
+
31
−
0
View file @
f5f6b0b2
server
{
# listen 80;
# server_name tracing.carbon.liu.se;
listen
80
default_server
;
listen
[::]:
80
default_server
;
server_name
_
;
root
/
usr
/
share
/
nginx
/
html
;
#location /static/ {
# root /home/mange61/static/;
#alias /home/mange61/static/;
#}
#location / {
#proxy_pass http://tracingcarbon.itn.liu.se:8000;
#}
# # Load configuration files for the default server block.
include
/
etc
/
nginx
/
default
.
d
/*.
conf
;
location
/ {
}
error_page
404
/
404
.
html
;
location
= /
40
x
.
html
{
}
error_page
500
502
503
504
/
50
x
.
html
;
location
= /
50
x
.
html
{
}
}
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