Changeset 45852


Ignore:
Timestamp:
2015-05-30T22:55:14+02:00 (3 years ago)
Author:
jow
Message:

uhttpd: add support for enforcing https

Also set HTTPS environment variable for CGI programs on SSL connections.

Signed-off-by: Jo-Philipp Wich <jow@…>

Location:
trunk/package/network/services/uhttpd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/uhttpd/Makefile

    r45850 r45852  
    99 
    1010PKG_NAME:=uhttpd 
    11 PKG_VERSION:=2015-05-30 
     11PKG_VERSION:=2015-05-31 
    1212PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    1313 
     
    1515PKG_SOURCE_URL:=git://nbd.name/uhttpd2.git 
    1616PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    17 PKG_SOURCE_VERSION:=618493e378e2239f0d30902e47adfa134e649fdc 
     17PKG_SOURCE_VERSION:=a91aac9419f535f067ac17c16475912062d947ea 
    1818PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1919PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> 
  • trunk/package/network/services/uhttpd/files/uhttpd.config

    r41114 r45852  
    99        list listen_https       0.0.0.0:443 
    1010        list listen_https       [::]:443 
     11 
     12        # Redirect HTTP requests to HTTPS if possible 
     13        option redirect_https   1 
    1114 
    1215        # Server document root 
  • trunk/package/network/services/uhttpd/files/uhttpd.init

    r44772 r45852  
    127127                        done 
    128128                } 
     129 
     130                append_bool "$cfg" redirect_https "-q" 0 
    129131        } 
    130132 
Note: See TracChangeset for help on using the changeset viewer.