All Projects → DiouxX → Docker Apache Proxy

DiouxX / Docker Apache Proxy

Apache web server like proxy to Docker

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Docker Apache Proxy

Docker Dante Telegram
dante config builder for Telegram SOCKS-proxy & Dockerfile for building image with such proxy
Stars: ✭ 16 (+77.78%)
Mutual labels:  proxy
Observer Util
Transparent reactivity with 100% language coverage. Made with ❤️ and ES6 Proxies.
Stars: ✭ 905 (+9955.56%)
Mutual labels:  proxy
Proxadd
A tool that adds proxy entries to Proxychains config
Stars: ✭ 26 (+188.89%)
Mutual labels:  proxy
Node Procedural Async
Write procedural style code that runs asynchronously. It may look synchronous, but it's not!
Stars: ✭ 17 (+88.89%)
Mutual labels:  proxy
Proxy Hot Reload
Node.js application hot reload with `Proxy`.
Stars: ✭ 19 (+111.11%)
Mutual labels:  proxy
Proxy Scraper
Proxy-Scraper is simple Perl script for scraping proxies from multiple websites.
Stars: ✭ 24 (+166.67%)
Mutual labels:  proxy
Freess
免费ss账号 免费shadowsocks账号 免费v2ray账号 (长期更新)
Stars: ✭ 6,544 (+72611.11%)
Mutual labels:  proxy
Cloak
A censorship circumvention tool to evade detection against state adversaries
Stars: ✭ 942 (+10366.67%)
Mutual labels:  proxy
Jsocksproxy
SOCKS proxy written in Java
Stars: ✭ 19 (+111.11%)
Mutual labels:  proxy
Thinningcoordinator
The UITableView/UICollectionView dataSource/delegate thinning coordinator, help thinning your UIViewController!
Stars: ✭ 25 (+177.78%)
Mutual labels:  proxy
Procurator
Socks5 server and client, utilizing epoll only.
Stars: ✭ 18 (+100%)
Mutual labels:  proxy
Gotit
Help You Got It (golang dependencies)
Stars: ✭ 19 (+111.11%)
Mutual labels:  proxy
Louketo Proxy
A OpenID / Proxy service
Stars: ✭ 926 (+10188.89%)
Mutual labels:  proxy
Keyless Solution
The solution of keyless proxy.
Stars: ✭ 16 (+77.78%)
Mutual labels:  proxy
Danby
A webserver that's also a grpc proxy for browsers
Stars: ✭ 26 (+188.89%)
Mutual labels:  proxy
Warwolf
Socks5-Over-HTTP (A Socks5 proxy runs on plain old HTTP requests, no websocket. Deployable on Google AppEngine) 🤟 😚 👁 🤦🏻‍♂️ 💃🏻 🕺🏻
Stars: ✭ 16 (+77.78%)
Mutual labels:  proxy
Swaddle
Automagically create API clients/wrappers in JavaScript
Stars: ✭ 23 (+155.56%)
Mutual labels:  proxy
Nginx Tutorial
这是一个 Nginx 极简教程,目的在于帮助新手快速入门 Nginx。
Stars: ✭ 845 (+9288.89%)
Mutual labels:  proxy
Litecloud
User management system for the server (Home Cloud).
Stars: ✭ 26 (+188.89%)
Mutual labels:  apache2
Magento1
Docker Image to Magento 1 local development in Mac, Linux and Windows
Stars: ✭ 24 (+166.67%)
Mutual labels:  apache2

Apache Proxy on Docker

Table of Contents

  1. Introduction
  2. Deploy
  3. Recommended
  4. SSL Support

Introduction

Apache web server like proxy to Docker.

Enable modules :

  • proxy
  • proxy_http
  • ssl

Deploy

  • First, create an data container to storage your web site configuration
docker create --name proxy-data --volume /opt/proxy-conf/:/opt/proxy-conf busybox /bin/true
  • Then, create proxy container with link data volume. By default, the data volume is mountend in /opt/proxy-conf. All configurations of this website in this directory will be activated
docker run --name apache-proxy --volumes-from proxy-data -p 80:80 -d diouxx/apache-proxy

Recommended

I recommanded to link also web site container. It's just my advice

docker run --name apache-proxy --link sitecontainer:sitecontainer --volumes-from proxy-data -p 80:80 -d diouxx/apache-proxy

And an exemple proxy configurations

<VirtualHost *:80>
	ServerName yoursite.domain.com

	ProxyPass "/" "http://sitecontainer/"
	ProxyPassReverse "/" "http://sitecontainer/"

</VirtualHost>

SSL Support

To use Apache proxy with HTTPS :

  • First, configure your virtual host with SSL support

If you can use together HTTP and HTTPS port

<VirtualHost *:80>
        ServerName yoursite.domain.com

        ProxyPass "/" "http://sitecontainer/"
        ProxyPassReverse "/" "http://sitecontainer/"

</VirtualHost>

<VirtualHost *:443>
        ServerName yoursite.domain.com

        SSLEngine On

        SSLCertificateFile /opt/ssl/yourcertificate.crt
        SSLCertificateKeyFile /opt/ssl/yourcertificate.key

        SSLProxyEngine on

        <Location />
                ProxyPass / http://sitecontainer/
                ProxyPassReverse / http://sitecontainer/
        </Location>

</VirtualHost>

If you can user only HTTPS port and force redirect

<VirtualHost *:80>
	ServerName yoursite.domain.com

	Redirect permanent / https://yoursite.domain.com/
</VirtualHost>

<VirtualHost *:443>
        ServerName yoursite.domain.com
	
        SSLEngine On

        SSLCertificateFile /opt/ssl/yourcertificate.crt
        SSLCertificateKeyFile /opt/ssl/yourcertificate.key

	SSLProxyEngine on
	
	<Location />
        	ProxyPass http://sitecontainer/
        	ProxyPassReverse http://sitecontainer/
	</Location>

</VirtualHost>
  • Then, link your SSL certificate folder by volumes. Example :
docker run --name apache-proxy --volumes yourssldirectory:/opt/ssl/ --volumes-from proxy-data -p 80:80 -p 443:443 -d diouxx/apache-proxy
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].