Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
servmgmt-ss22
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim-Lukas Bastin
servmgmt-ss22
Commits
0a235725
Commit
0a235725
authored
2 years ago
by
timbastin
Browse files
Options
Downloads
Patches
Plain Diff
Fixed nginx.conf§
parent
be8a1744
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
prak/pr05/README.md
+3
-10
3 additions, 10 deletions
prak/pr05/README.md
prak/pr05/nginx.conf
+3
-10
3 additions, 10 deletions
prak/pr05/nginx.conf
with
6 additions
and
20 deletions
prak/pr05/README.md
+
3
−
10
View file @
0a235725
...
...
@@ -17,15 +17,11 @@ events {
worker_connections 1024;
}
http {
include mime.types;
sendfile on;
server {
# listen on port 80 and 443 for ipv4 and ipv6 requests
listen 80;
listen [::]:80;
listen 443;
listen [::]:443;
# if the requested hostname does match one of the following, check the location block.
server_name localhost tbasti2s.l3montree.com tbasti2s.l3montree.education;
...
...
@@ -34,16 +30,13 @@ http {
# always return static files
root /www/data;
}
gzip_static on;
}
server {
# listen on port 80 and 443 for ipv4 and ipv6 requests
listen 80;
listen [::]:80;
listen 443;
listen [::]:443;
listen 80 default;
listen [::]:80 default;
server_name _;
# there is no server name provided here - match anything else
location / {
...
...
This diff is collapsed.
Click to expand it.
prak/pr05/nginx.conf
+
3
−
10
View file @
0a235725
...
...
@@ -3,15 +3,11 @@ events {
worker_connections
1024
;
}
http
{
include
mime.types
;
sendfile
on
;
server
{
# listen on port 80 and 443 for ipv4 and ipv6 requests
listen
80
;
listen
[::]:80
;
listen
443
;
listen
[::]:443
;
# if the requested hostname does match one of the following, check the location block.
server_name
localhost
tbasti2s.l3montree.com
tbasti2s.l3montree.education
;
...
...
@@ -20,16 +16,13 @@ http {
# always return static files
root
/www/data
;
}
gzip_static
on
;
}
server
{
# listen on port 80 and 443 for ipv4 and ipv6 requests
listen
80
;
listen
[::]:80
;
listen
443
;
listen
[::]:443
;
listen
80
default
;
listen
[::]:80
default
;
server_name
_
;
# there is no server name provided here - match anything else
location
/
{
...
...
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