Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gateway-config
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
Service Desk
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
Freifunk Luebeck
gateway-config
Commits
52e1ab38
Commit
52e1ab38
authored
3 years ago
by
Paul
Browse files
Options
Downloads
Patches
Plain Diff
update nginx config for chaotikum gitlab pages
parent
271a602e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#4656
failed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/services/files/nginx/sites-available/luebeck.freifunk.net
+47
-45
47 additions, 45 deletions
...services/files/nginx/sites-available/luebeck.freifunk.net
with
47 additions
and
45 deletions
roles/services/files/nginx/sites-available/luebeck.freifunk.net
+
47
−
45
View file @
52e1ab38
server {
listen 80;
listen [::]:80;
listen localhost:443 ssl http2;
listen [::]:443 ssl http2;
server_name luebeck.freifunk.net ffhl.de ffhl;
include snippets/acme.conf;
include snippets/tls.conf;
include snippets/https-redirect.conf;
ssl_certificate /var/lib/acme/live/luebeck.freifunk.net/fullchain;
ssl_certificate_key /var/lib/acme/live/luebeck.freifunk.net/privkey;
root /var/www/luebeck.freifunk.net;
location ~ /map(/?.*) {
return 301 $scheme://map.luebeck.freifunk.net$1;
}
location ~ /wiki(/?.*) {
return 301 https://wiki.luebeck.freifunk.net$1;
}
location /firmware/ {
return 301 $scheme://firmware.luebeck.freifunk.net/;
}
location /opkg/ {
return 301 $scheme://firmware.luebeck.freifunk.net/;
}
location = /Moelln {
return 302 https://wiki.luebeck.freifunk.net/wiki/Moelln;
}
listen 80;
listen [::]:80;
listen localhost:443 ssl http2;
listen [::]:443 ssl http2;
server_name luebeck.freifunk.net ffhl.de ffhl;
include snippets/acme.conf;
include snippets/tls.conf;
include snippets/https-redirect.conf;
ssl_certificate /var/lib/acme/live/luebeck.freifunk.net/fullchain;
ssl_certificate_key /var/lib/acme/live/luebeck.freifunk.net/privkey;
root /var/www/luebeck.freifunk.net;
location / {
proxy_pass https://freifunk-luebeck.pages.chaotikum.org/ffhl-website/;
}
location ~ /map(/?.*) {
return 301 $scheme://map.luebeck.freifunk.net$1;
}
location ~ /wiki(/?.*) {
return 301 https://wiki.luebeck.freifunk.net$1;
}
location /firmware/ {
return 301 $scheme://firmware.luebeck.freifunk.net/;
}
location /opkg/ {
return 301 $scheme://firmware.luebeck.freifunk.net/;
}
location = /Moelln {
return 302 https://wiki.luebeck.freifunk.net/wiki/Moelln;
}
}
server {
listen [::]:80;
listen [::]:443 ssl;
server_name xn--lbeck-kva.freifunk.net www.luebeck.freifunk.net www.ffhl.de;
include snippets/acme.conf;
include snippets/tls.conf;
listen [::]:80;
listen [::]:443 ssl;
server_name xn--lbeck-kva.freifunk.net www.luebeck.freifunk.net www.ffhl.de;
include snippets/acme.conf;
include snippets/tls.conf;
ssl_certificate /var/lib/acme/live/www.luebeck.freifunk.net/fullchain;
ssl_certificate_key /var/lib/acme/live/www.luebeck.freifunk.net/privkey;
ssl_certificate /var/lib/acme/live/www.luebeck.freifunk.net/fullchain;
ssl_certificate_key /var/lib/acme/live/www.luebeck.freifunk.net/privkey;
return 301 $scheme://luebeck.freifunk.net$request_uri;
return 301 $scheme://luebeck.freifunk.net$request_uri;
}
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