Comments (4)
@Imipenem What do you think is the easiest method?
Simply redirecting any www request to an https equivalent without www?
from igem_tuebingen_website.
Yes, easiest way would be probably to state in the nginx/sites-enabled/igem_tuebingen_website file, that every request for igem-tuebingen.com/www.igem-tuebingen.com should be answered by an https (redirect) request.
`server {
if ($host = igem-tuebingen.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = www.igem-tuebingen.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name www.igem-tuebingen.com igem-tuebingen.com;
return 301 https://$host$request_uri;
}`
Something like this should do the job.
from igem_tuebingen_website.
This might also help with redirecting any traffic to the https version.
This is another issue.
from igem_tuebingen_website.
Unfortunately this solely solves https redirecting, but not the issue described above.
from igem_tuebingen_website.
Related Issues (20)
- Add Linas project images HOT 1
- Add config.py for better application structure HOT 1
- Projektmappe both languages HOT 1
- HP Subpage HOT 2
- Implement survey feature HOT 3
- Translations HOT 1
- Translation flag not responsive HOT 1
- Spam Protection HOT 1
- igem 2019 sponsors
- Resolve project 2019 conflicts with drylabs texts HOT 4
- shorten project captions HOT 3
- Sample of missing translations and smaller bugs HOT 9
- Replace project text with Patricks version HOT 1
- Add iGEM Springfestival images HOT 1
- Fix Patricks typos
- Setup cron job for https certificates HOT 4
- SEO whole website both languages HOT 3
- Refactoring menu into menu.html broke mobile usability HOT 7
- Sponsoring page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igem_tuebingen_website.