1 Star 0 Fork 0

dassio / nginx_reverse_ssl

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Usecase

Local website development that needs https

Environment Variables

WEB_SERVER_IP: webserver IP that is running behind Nginx REQUEST_LOGGING: enable response body logging for easy debugging

HOWTO

Using docker run command

docker run -d -e "WEB_SERVER_IP=172.25.0.4" -e "REQUEST_LOGGING=true" pdassio/nginx_reverse_proxy_ssl

Using docker-compose

version: '3.7'

volumes:
  nextcloud:
  db:

networks:
  default:
    ipam:
      driver: default
      config:
        - subnet: "172.25.0.0/24"

services:
  db:
    image: mariadb
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    restart: always
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=nextcloud
      - MYSQL_PASSWORD=nextcloud
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
  app:
    image: nextcloud
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
    networks:
      default:
        ipv4_address: 172.25.0.4
    restart: always
  ssl_proxy:
    image: nginx_proxy_dev
    environment:
    - WEB_SERVER_IP=172.25.0.4
    - REQUEST_LOGGING=true
    ports:
      - "443:443"
      - "80:80"

Comments ( 0 )

Sign in for post a comment

About

nginx reverse ssl proxy without domain name spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Docker
1
https://git.oschina.net/dassio/nginx_reverse_ssl.git
git@git.oschina.net:dassio/nginx_reverse_ssl.git
dassio
nginx_reverse_ssl
nginx_reverse_ssl
master

Search