All Questions
23
questions
0
votes
1
answer
38
views
Is possible return a static page in https virtual host using lighttpd?
It seems like redirect is not done.
If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect
SERVER["socket"] == ":443" {
$HTTP["...
2
votes
1
answer
360
views
Lighttpd - Redirect HTTPS 443 to HTTPS 123
I have HTTPS working for a local instance of Lighttpd.
But I'm wanting to redirect:
http://192.168.1.254 -> https://192.168.1.254:123
https://192.168.1.254 -> https://192.168.1.254:123
My ...
0
votes
1
answer
1k
views
Lighttpd 1.4.45 - HTTP to HTTPS redirects not replacing ${url.authority}${url.path}${qsa}
I tried to reconfigured my lighttpd to automatically relocate any HTTP requests to HTTPS requests. To do this, I found the following config snipped in the Lighttpd Redmine Wiki:
$HTTP["scheme&...
2
votes
1
answer
6k
views
Lighttpd reverse proxy HTTPS to another server on HTTP
I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both ...
4
votes
2
answers
3k
views
lighttpd proxy all except .well-known for letsencrypt
I want to configure lighttpd to accept requests from letsencrypt service for cert renewal, but I have a problems with the configuration because it's using as proxy server, so my /.well-known is not ...
1
vote
1
answer
80
views
https not recognized by PHP when lighttpd url.rewrite used
I'm deploying a PHP website using lighttpd. To get nice URLs working, I've put this into the configuration file:
url.rewrite = (
"^/(?!(wp-admin|wp-includes|wp-content))/(.*)" => "/index.php?$...
1
vote
1
answer
639
views
lighttpd authentication before redirection from https to http
I would like to redirect from https to http after authentication so credentials go through a secure channel but everything else is transmitted in plain.
Here it is the relevant part of the conf file:
...
1
vote
0
answers
730
views
Reverse Proxy with https redirect in Lighttpd
I've got a django application here that uses a lighttpd reverse proxy. We recently moved it behind an elastic load balancer on EC2 and I'm having trouble working out the correct config to do what I ...
5
votes
1
answer
5k
views
How to reverse proxy https with lighttpd?
I want to forward (reverse proxy) requests to https://secure.mydomain.com(:443) to my internal (HTTPS-)WebServer on port 8443 using Lighttp.
Environment-Infos:
My WebServer is a Tomcat running on ...
1
vote
2
answers
2k
views
lighttpd - redirect everything to https
I have tried to use the example from this wiki page -
$HTTP["scheme"] == "http" {
# capture vhost name with regex conditiona -> %0 in redirect pattern
# must be the most inner block to ...
0
votes
2
answers
254
views
Use fasterize.com : redirect to "http://www" except for one page in https (with lighttp)
I use the awesome front end optimizer fasterize.com , which requires
www subdomain. Also I have a payment page that I would use HTTPS without using fasterize, so on another subdomain.
I use lighttpd, ...
0
votes
2
answers
570
views
Serving image content over https, must encryption strength match that of the main website?
Im looking at migrating my website to https throughout. I have a server responsible for the HTML/PHP, and 4 other servers which serve image content
Now clearly all the image servers need to be https ...
1
vote
2
answers
2k
views
Lighttpd Redirect to SSL results in 301 redirect loop
I am running lighttpd 1.4.31 with ssl support and am having an issue with forcing https on a specific virtualhost. If I disable the redirect line from the following config, it works as expect (http ...
2
votes
1
answer
2k
views
Lighttpd: Redirect specific location and sub-locations from HTTP to HTTPS (without using domain name)
I would like to redirect a specific section of a website from HTTP:// to HTTPS:// using Lighttpd.
I've been looking at this
Lighttpd wiki entry, but the examples don't work the way I want.
I have ...
0
votes
1
answer
497
views
Method to proxy Subversion repo in lighttpd with https to the outside world
HTTPS is HTTP over SSL. I have an Apache server running on a machine in order to publish a Subversion repository (read-only). Apparently there is no direct solution to export the repository using ...
1
vote
2
answers
608
views
Handling http and https requests using a single port with lihgttpd
At the moment I am using http and https as different port.
And based on request uri,
I made a redirection rule from http to https switch and vice versa.
But If I can use only a single port for https ...
0
votes
5
answers
2k
views
Can SSH be tunneled over HTTPS using thttpd?
I need to tunnel my SSH server through an HTTPS port using thttpd (I can change to lighttpd if necessary, but I'm trying to avoid installing Apache since it's an underpowered box). I haven't been able ...
7
votes
2
answers
4k
views
Running multiple services on Port 443, Tunnel SSH over HTTPS
Situation:
I want to tunnel SSH sessions through HTTPS. I have a very restrictive firewall/proxy which only allows HTTP, FTP and HTTPS traffic.
What works:
Setting up a tunnel through the proxy to a ...
0
votes
2
answers
2k
views
Lighttpd mod_rewrite and SSL
I'm trying to prevent the search engines from crawling through SSL version of the site, to prevent content duplication and canonization issues.
I found the following great article:
http://www....
1
vote
1
answer
716
views
Self-Signed SSL Cert in Lighttpd Causing 404s
Hey guys, I wanted to try out SSL on my server so I decided to create some self-signed SSL certificates as outlined here. After going to the document-root, firefox did indeed allow me to accept the ...
10
votes
2
answers
2k
views
How to handle encrypted and unencrypted http connections through a single port
Please, take a look at the following diagram.
How should this work?
When a remote requests http:// myhost.com:8080/* , the request should be forwarded to the http server that listens on port 8008 of ...
23
votes
9
answers
39k
views
Handling http and https requests using a single port with nginx
i was wondering if nginx is able to handle http and https requests on the same port. [*]
This is what i'm trying to do. I'm running a web server (lighttpd) handling http requests, and a C program ...
4
votes
4
answers
13k
views
how to disable unencrypted traffic(port 80) on lighttpd
We want to run an SSL only lighttpd process. Which configuration option should be used to turn off port 80 with its unencrypted traffic ?
Lighttpd documents only provide a "redirection" to https ...