# |
Oct 5th 2016, 12:23 |
admad |
don't even see lang selector on mobile :P |
# |
Oct 5th 2016, 12:23 |
steinkel |
about nginx config, if you are as lazy as me > https://gist.github.com/steinkel/70e1051e5a60eea9d2e02839d1fe4345 |
# |
Oct 5th 2016, 12:22 |
admad |
works fine for me on latest chrome on linux desktop |
# |
Oct 5th 2016, 12:22 |
birdy247 |
I am using apache |
# |
Oct 5th 2016, 12:22 |
birdy247 |
Thanks guys |
# |
Oct 5th 2016, 12:21 |
rchavik |
oh, the damn dropdown doesn't even show in chrome |
# |
Oct 5th 2016, 12:21 |
rchavik |
it does when you want to change langunage |
# |
Oct 5th 2016, 12:21 |
admad |
do you have js turned off? :slightly_smiling_face: |
# |
Oct 5th 2016, 12:20 |
admad |
rchavik: the lang dropdown in shown on hover, you dont need to click it |
# |
Oct 5th 2016, 12:20 |
dereuromark |
@birdy247 I prefer non to www: http://www.dereuromark.de/2011/05/29/working-with-domains-locally/#advanced-setup |
# |
Oct 5th 2016, 12:18 |
admad |
remove the https != on check since you need to do do the redirection for https |
# |
Oct 5th 2016, 12:17 |
admad |
@birdy247 https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess#L380 |
# |
Oct 5th 2016, 12:17 |
rchavik |
megan, when i click the language, the # gets appended in the url http://imgur.com/gallery/KVwzR |
# |
Oct 5th 2016, 12:16 |
dereuromark |
for nginx, for apache I have a blog post |
# |
Oct 5th 2016, 12:16 |
dereuromark |
@birdy247 just look into cakebox sites-available, there are examples |
# |
Oct 5th 2016, 12:16 |
admad |
@birdy247 you need to setup redirection from domain.com or vice versa using mod rewrite |
# |
Oct 5th 2016, 12:12 |
dereuromark |
it probably should allow both, yes |
# |
Oct 5th 2016, 12:11 |
johan |
hm maybe the book should be served over https then? |
# |
Oct 5th 2016, 12:10 |
johan |
seems ok here, on multiple browsers |
# |
Oct 5th 2016, 12:10 |
rchavik |
megan, it's not working for me, but in my case the problem is that my ISP injects some crap ads on non https |
# |
Oct 5th 2016, 12:09 |
jay |
ah yes, just replicated |
# |
Oct 5th 2016, 12:09 |
dereuromark |
I once had a similar issue a while back, but cannot reproduce how either.. maybe it is only on some pages which might be JS broken? |
# |
Oct 5th 2016, 12:06 |
jay |
@megan Working fine on 53.0.2785.113 (64-bit) :s |
# |
Oct 5th 2016, 12:01 |
megan |
hey guys - https://twitter.com/BlackHatMario/status/783630068178452480 its the book but I cant replicate - any ideas on what could be going on/how to help |
# |
Oct 5th 2016, 11:30 |
dakota |
https://gist.github.com/dakota/b1ce9c422eb9f2921742250431b5c639 |
# |
Oct 5th 2016, 11:27 |
birdy247 |
where do you do this in nginx |
# |
Oct 5th 2016, 11:27 |
birdy247 |
dakota |
# |
Oct 5th 2016, 11:20 |
dakota |
Donâ??t use apache, so ¯\_(ã??)_/¯ |
# |
Oct 5th 2016, 11:14 |
birdy247 |
ServerAdmin www.example.co.uk DocumentRoot /var/www/example.co.uk/webroot |
# |
Oct 5th 2016, 11:14 |
birdy247 |
but that would prob cause a loop right? |
# |
Oct 5th 2016, 11:13 |
birdy247 |
execpt https ;) |
# |
Oct 5th 2016, 11:13 |
birdy247 |
Redirect permanent / http://www.example.com/ |
# |
Oct 5th 2016, 11:13 |
birdy247 |
so I am thinking in there? |
# |
Oct 5th 2016, 11:13 |
birdy247 |
lets encyrpt makes a seperate SSL host file |
# |
Oct 5th 2016, 11:12 |
birdy247 |
Where do you do that? |
# |
Oct 5th 2016, 11:12 |
Neon1024 |
We too redirect all traffic to https://example.com |
# |
Oct 5th 2016, 11:12 |
Neon1024 |
My colleague Dan uses Letsencrypt |
# |
Oct 5th 2016, 11:04 |
birdy247 |
Did you have to change the virtual hosts files |
# |
Oct 5th 2016, 11:04 |
birdy247 |
you are using lets encrypt i seem to remember |
# |
Oct 5th 2016, 11:03 |
dakota |
I always redirect to https://domain.com |
# |
Oct 5th 2016, 11:03 |
birdy247 |
on in the SSL virtual hosts file |