Comments (7)
A few questions...
- Do you definitely have a config json file mounted as
/app/config/production.json
? - Are you importing from a version 1 configuration?
from nginx-proxy-manager.
- I see in the logs that the system modified the config.json that I pointed at /app/config/production.json. I am guessing it is doing that part like it is supposed to. It added a jwt section with keys and then acts like it can't find them.
It now looks like this:
{
"database": {
"engine": "mysql",
"host": "10.10.10.200",
"name": "nginx",
"user": "nginx",
"password": "nginx",
"port": 3306
},
"jwt": {
"key": "-----BEGIN RSA PRIVATE KEY-----[lots of characters]-----END RSA PRIVATE KEY-----",
"pub": "-----BEGIN PUBLIC KEY-----[lots of characters]----END PUBLIC KEY-----"
}
}
- No I am not importing. This is a clean build/install.
from nginx-proxy-manager.
That is very strange. I've just tested a clean install with the latest image and things are working fine. The fact that it wrote the keys to the file means it should be able to read from them. If you're using docker-compose, can you attach the output of this command: docker-compose config
Here's mine:
services:
app:
depends_on:
- db
environment:
FORCE_COLOR: '1'
image: jc21/nginx-proxy-manager:2
ports:
- 80:80/tcp
- 81:81/tcp
- 443:443/tcp
restart: always
volumes:
- /opt/nginx-proxy-manager/config.json:/app/config/production.json:rw
- /opt/nginx-proxy-manager/data:/data:rw
- /opt/nginx-proxy-manager/letsencrypt:/etc/letsencrypt:rw
db:
environment:
MYSQL_DATABASE: npm
MYSQL_PASSWORD: npm
MYSQL_ROOT_PASSWORD: npm
MYSQL_USER: npm
image: mariadb:10.3.7
restart: always
volumes:
- /opt/nginx-proxy-manager/data/mysql:/var/lib/mysql:rw
version: '2.0'
Perhaps
from nginx-proxy-manager.
seeing the same issue, no docker compose was used.
However, recreating the container did solve the issue.
from nginx-proxy-manager.
Sorry about the delay. I am not using docker-compose.
from nginx-proxy-manager.
I had to restart the container too. Then it's okay.
from nginx-proxy-manager.
I came back to it a couple of days later and it is working now. Weird.
from nginx-proxy-manager.
Related Issues (20)
- docker compose is now a plugin and not a separate command
- Expose nginx logs to web gui HOT 1
- nginx looses all settings, login credentials, signed certificates, all stored data upon restart. HOT 2
- High severity vuln (contact me) HOT 2
- [Security bug] User name oracle
- Cannot read properties of null (reading 'avatar') when I click on proxy hosts. HOT 1
- DNSPOD API: Incorrect domain
- 反向代理高级配置指定tls版本仅tlsv1.2不生效
- Enable Individual auth_basic Configuration for Different Locations within the Same Site in Nginx Proxy Manager
- Can nginx proxy manager listen to ports other than 80 and 443? HOT 1
- Feature Request: Organizational Folders
- npm cannot renew letsencrypt certificates, certificates expire and there is no renovation HOT 6
- Location directive ( location /{ ) causing proxy host to land at openresty landing page HOT 6
- Can't login anymore. HOT 3
- Support running nginx proxy manager under a subpath HOT 2
- Log errors: unknown user 'npm'
- NPM gui on port 81 doesnt work HOT 2
- Ability to live-view logs for hosts HOT 2
- Aprove/merge my pr for "Portuguese Documentation Translation" please 🥲🥺
- username and password forget HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-proxy-manager.