Похожие чаты

Hello. I want to run nginx + php7 + mysql

+ phpmyadmin via docker. But, i have a question first. As i have to host some sites on same machine (like domain1.com, sub.domain1.com, domain2.com). I found this article for normally installed nginx (without docker) https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts but i guess it wont work with Docker. I saw also "nginx-proxy" by jwilder (https://hub.docker.com/r/jwilder/nginx-proxy), it's probably can do what i want, but i would prefer to do it with official nginx (as it has slower updates than official). My question - is it hard to do similar thing as jwilder/nginx-proxy does, but for official nginx in docker?

2 ответов

9 просмотров

You can look at his github page to see what's needed to do it. You might even be able to just clone it and rebuild it with a newer official nginx and see if it works

There is a bit of documentation on the jwilder/nginx-proxy GitHub page on how to run the official image with the jwilder/docker-gen image to achieve the same goal

Похожие вопросы

Обсуждают сегодня

Ясн. Но я всеравно к кедам отношусь с опасением. Чисто субьективное кедосозерцание. Что касаемо "восторга изяшности кед" так и не вкурил, хотя много слышал, пока не поставил с...
Артем Записной
30
type TObj = object procedure Init; virtual; end; TObj1 = object(TObj) procedure Init; override; end; procedure TObj1.Init; begin inherited; end; procedur...
Alexander 👋
29
Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
45
А чем вам питонисты не угодили?😂
.
79
They keep hyping $FUN but where's the progress? 🙄
Noah Noure
21
How can a minority hashrate chain defend from a fork-hopping ASIC miner? The problem: 1. A miner comes into your network, and mines at 60-70% hashrate. 2. After some time, th...
Kishniev
13
Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
Hey people, how do I unstake from the old pool and stake in the new pool??
Dyldo Baggins
24
Можно ли загрузить скрипт py в бота чтобы он работал по нему? как это сделать?
huskadam #RCC Фанат? @hitlerpvp
13
Всем здравствуйте! Я хотел узнать сколько стоит средняя месячная зарплата у Electron js разработчиков? Мне очень это важно и нужно, плиз помогите узнать эту инфу! Для Джунио...
U.K.
10
Карта сайта