mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-21 02:18:54 +00:00
Compare commits
208 Commits
dependabot
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94f6191a21 | ||
|
|
cac52dd0ff | ||
|
|
906f177960 | ||
|
|
f52afced5d | ||
|
|
e8224ff0af | ||
|
|
a4fa83d0ce | ||
|
|
770716ebf8 | ||
|
|
f1067d3308 | ||
|
|
85c1a935ea | ||
|
|
51ef7f3b86 | ||
|
|
846b94f7e8 | ||
|
|
19e24c7e7e | ||
|
|
c1bc471dac | ||
|
|
608dc0b6bf | ||
|
|
0dbf268f37 | ||
|
|
c7437ddf8f | ||
|
|
627f43c729 | ||
|
|
fc4c5aac86 | ||
|
|
aff390f35d | ||
|
|
5f5a3870e4 | ||
|
|
40f363bd4f | ||
|
|
678fdd22c6 | ||
|
|
6c3cc83d66 | ||
|
|
5916fd5bee | ||
|
|
f105673904 | ||
|
|
a37d0b88d6 | ||
|
|
43bc2a743e | ||
|
|
269545256a | ||
|
|
e5df45e9ef | ||
|
|
5601dd14fc | ||
|
|
3e5655cfcd | ||
|
|
a90af83270 | ||
|
|
619a8e5acc | ||
|
|
6dcdefb57e | ||
|
|
787616010b | ||
|
|
5891c291d2 | ||
|
|
41a2a41e67 | ||
|
|
379099d7ed | ||
|
|
dbeab93c02 | ||
|
|
010cb562a0 | ||
|
|
7ff2fc1900 | ||
|
|
1c189a1888 | ||
|
|
f3c46487f6 | ||
|
|
fcca481d1b | ||
|
|
c59c237000 | ||
|
|
a62b6de9f2 | ||
|
|
d92cc953e1 | ||
|
|
1b6412688b | ||
|
|
1d14f72ba5 | ||
|
|
099243aff7 | ||
|
|
5fe12f69ba | ||
|
|
011191f645 | ||
|
|
eeab425ea4 | ||
|
|
13fbc53591 | ||
|
|
3f2aec7b86 | ||
|
|
09a3d65aa1 | ||
|
|
c910cf9512 | ||
|
|
304c51aae8 | ||
|
|
b552eb90ed | ||
|
|
b78ef9bcd3 | ||
|
|
7c67fafedf | ||
|
|
47b367d61e | ||
|
|
d19f5c1960 | ||
|
|
77662b4e7f | ||
|
|
c88de65d3a | ||
|
|
ac4efd2333 | ||
|
|
eab38d8934 | ||
|
|
4833dcbf3a | ||
|
|
c6fba1cbfe | ||
|
|
cdde543e8a | ||
|
|
0d62c26164 | ||
|
|
c3173d83b8 | ||
|
|
6ba40216cd | ||
|
|
3c54413752 | ||
|
|
65cf8ce583 | ||
|
|
a4bc8d5d21 | ||
|
|
2bcf5e91ce | ||
|
|
3e3d08b68f | ||
|
|
f90066822f | ||
|
|
bb4b5fb3aa | ||
|
|
8014f34195 | ||
|
|
4f8037ded2 | ||
|
|
e7a1f84e45 | ||
|
|
6f0931bed5 | ||
|
|
7f0c5d4364 | ||
|
|
60404b6f7e | ||
|
|
c2fddee2c7 | ||
|
|
b7402d47a0 | ||
|
|
f09876d31b | ||
|
|
8708a3bab8 | ||
|
|
218fadd168 | ||
|
|
9cf1d000c8 | ||
|
|
714bebbbc7 | ||
|
|
127008c9b5 | ||
|
|
7cc2bfbf6a | ||
|
|
de3b543d08 | ||
|
|
21f63e3db3 | ||
|
|
232b5b759a | ||
|
|
054742539f | ||
|
|
2b6a617599 | ||
|
|
187d21a0d5 | ||
|
|
c515815b0e | ||
|
|
3db02370fd | ||
|
|
4ad1af5576 | ||
|
|
a73d54fedc | ||
|
|
8c8005f817 | ||
|
|
83d993578b | ||
|
|
8532e7520f | ||
|
|
58d47cd69a | ||
|
|
bad3eac515 | ||
|
|
00b58f73f8 | ||
|
|
47981f0d56 | ||
|
|
38257859e2 | ||
|
|
a169e1131c | ||
|
|
a99cde9cd8 | ||
|
|
c69bd187af | ||
|
|
98fe622967 | ||
|
|
eddca3597d | ||
|
|
ed0b2306a2 | ||
|
|
17f6050de2 | ||
|
|
469d72a2f9 | ||
|
|
3ed3ec0001 | ||
|
|
24ff3c7b11 | ||
|
|
58dda941b8 | ||
|
|
f9f743499f | ||
|
|
534afe6067 | ||
|
|
9580903f5d | ||
|
|
df81c8425f | ||
|
|
b6f421c5fc | ||
|
|
c1ef3a3795 | ||
|
|
0aad939ccc | ||
|
|
7e092e265c | ||
|
|
cd01a2ee6b | ||
|
|
9e6720561a | ||
|
|
c50f0a144e | ||
|
|
2a9c1df3cb | ||
|
|
ef6391f22e | ||
|
|
0f46337710 | ||
|
|
1b84b8ace2 | ||
|
|
8ea8286cec | ||
|
|
7ca48f876b | ||
|
|
7c3c59c79f | ||
|
|
ef7f444404 | ||
|
|
f509e0bdba | ||
|
|
9b7af474bb | ||
|
|
28982b8bc2 | ||
|
|
19e654b998 | ||
|
|
eaf9f5ab1e | ||
|
|
4af0a968f0 | ||
|
|
df06eb6c2f | ||
|
|
74360cc9b3 | ||
|
|
16a301fc64 | ||
|
|
2d774124dc | ||
|
|
124737bbc6 | ||
|
|
d5d222ef2d | ||
|
|
b96e932c64 | ||
|
|
d09cb2884c | ||
|
|
71deabcc67 | ||
|
|
a78039b65f | ||
|
|
48acbd33ab | ||
|
|
32cabc0f83 | ||
|
|
03a82cd861 | ||
|
|
5f19f7125e | ||
|
|
8d35644190 | ||
|
|
ad2e4c8afe | ||
|
|
69f9031447 | ||
|
|
3308a308df | ||
|
|
59b0e75324 | ||
|
|
727bc944ea | ||
|
|
a0ef0d9048 | ||
|
|
d2e346c912 | ||
|
|
32a716b3a9 | ||
|
|
ef6918947c | ||
|
|
2deb5447d6 | ||
|
|
1bb29259ea | ||
|
|
fa20c7d8a4 | ||
|
|
4ed17fef01 | ||
|
|
fe316252f1 | ||
|
|
7747db994d | ||
|
|
9ffced265b | ||
|
|
50cf275328 | ||
|
|
7bcc34dea9 | ||
|
|
131e5fea4f | ||
|
|
4e412f18bb | ||
|
|
bb0a50eccb | ||
|
|
4185665570 | ||
|
|
9ea6fee3ce | ||
|
|
7ee9a3c9f0 | ||
|
|
afb196e5b6 | ||
|
|
0b464ac9fd | ||
|
|
f3efaae320 | ||
|
|
7b3c1fd061 | ||
|
|
ee42202348 | ||
|
|
c1ad7788f1 | ||
|
|
d33bb02c74 | ||
|
|
462c134751 | ||
|
|
b7dfaddbb1 | ||
|
|
c9f453714b | ||
|
|
073ee95e56 | ||
|
|
168078eb40 | ||
|
|
2c9f8f4d64 | ||
|
|
8403a0c761 | ||
|
|
56875bba52 | ||
|
|
b55f51bd63 | ||
|
|
86b7394620 | ||
|
|
91a1f39c02 | ||
|
|
fec9bffe29 | ||
|
|
847c58b170 |
104
.github/dependabot.yml
vendored
Normal file
104
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/backend"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
dev-patch-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "patch"
|
||||
dev-minor-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "minor"
|
||||
prod-patch-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "patch"
|
||||
prod-minor-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "minor"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/frontend"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
dev-patch-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "patch"
|
||||
dev-minor-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "minor"
|
||||
prod-patch-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "patch"
|
||||
prod-minor-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "minor"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/docs"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
dev-patch-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "patch"
|
||||
dev-minor-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "minor"
|
||||
prod-patch-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "patch"
|
||||
prod-minor-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "minor"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/test"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
dev-patch-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "patch"
|
||||
dev-minor-updates:
|
||||
dependency-type: "development"
|
||||
update-types:
|
||||
- "minor"
|
||||
prod-patch-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "patch"
|
||||
prod-minor-updates:
|
||||
dependency-type: "production"
|
||||
update-types:
|
||||
- "minor"
|
||||
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/docker"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
groups:
|
||||
updates:
|
||||
update-types:
|
||||
- "patch"
|
||||
- "minor"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
stale-issue-label: 'stale'
|
||||
stale-pr-label: 'stale'
|
||||
|
||||
17
README.md
17
README.md
@@ -1,7 +1,7 @@
|
||||
<p align="center">
|
||||
<img src="https://nginxproxymanager.com/github.png">
|
||||
<br><br>
|
||||
<img src="https://img.shields.io/badge/version-2.13.5-green.svg?style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/version-2.14.0-green.svg?style=for-the-badge">
|
||||
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
|
||||
<img src="https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge">
|
||||
</a>
|
||||
@@ -36,6 +36,10 @@ so that the barrier for entry here is low.
|
||||
- Advanced Nginx configuration available for super users
|
||||
- User management, permissions and audit log
|
||||
|
||||
::: warning
|
||||
`armv7` is no longer supported in version 2.14+. This is due to Nodejs dropping support for armhf. Please
|
||||
use the `2.13.7` image tag if this applies to you.
|
||||
:::
|
||||
|
||||
## Hosting your home network
|
||||
|
||||
@@ -43,16 +47,15 @@ I won't go in to too much detail here but here are the basics for someone new to
|
||||
|
||||
1. Your home router will have a Port Forwarding section somewhere. Log in and find it
|
||||
2. Add port forwarding for port 80 and 443 to the server hosting this project
|
||||
3. Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or [Amazon Route53](https://github.com/jc21/route53-ddns)
|
||||
3. Configure your domain name details to point to your home, either with a static ip or a service like
|
||||
- DuckDNS
|
||||
- [Amazon Route53](https://github.com/jc21/route53-ddns)
|
||||
- [Cloudflare](https://github.com/jc21/cloudflare-ddns)
|
||||
4. Use the Nginx Proxy Manager as your gateway to forward to your other web based services
|
||||
|
||||
## Quick Setup
|
||||
|
||||
1. Install Docker and Docker-Compose
|
||||
|
||||
- [Docker Install documentation](https://docs.docker.com/install/)
|
||||
- [Docker-Compose Install documentation](https://docs.docker.com/compose/install/)
|
||||
|
||||
1. [Install Docker](https://docs.docker.com/install/)
|
||||
2. Create a docker-compose.yml file similar to this:
|
||||
|
||||
```yml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.3/schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
|
||||
@@ -23,6 +23,14 @@
|
||||
"credentials": "dns_aliyun_access_key = 12345678\ndns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef",
|
||||
"full_plugin_name": "dns-aliyun"
|
||||
},
|
||||
"arvan": {
|
||||
"name": "ArvanCloud",
|
||||
"package_name": "certbot-dns-arvan",
|
||||
"version": ">=0.1.0",
|
||||
"dependencies": "",
|
||||
"credentials": "dns_arvan_key = Apikey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
||||
"full_plugin_name": "dns-arvan"
|
||||
},
|
||||
"azure": {
|
||||
"name": "Azure",
|
||||
"package_name": "certbot-dns-azure",
|
||||
@@ -74,7 +82,7 @@
|
||||
"cloudns": {
|
||||
"name": "ClouDNS",
|
||||
"package_name": "certbot-dns-cloudns",
|
||||
"version": "~=0.6.0",
|
||||
"version": "~=0.7.0",
|
||||
"dependencies": "",
|
||||
"credentials": "# Target user ID (see https://www.cloudns.net/api-settings/)\n\tdns_cloudns_auth_id=1234\n\t# Alternatively, one of the following two options can be set:\n\t# dns_cloudns_sub_auth_id=1234\n\t# dns_cloudns_sub_auth_user=foobar\n\n\t# API password\n\tdns_cloudns_auth_password=password1",
|
||||
"full_plugin_name": "dns-cloudns"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"database": {
|
||||
"engine": "knex-native",
|
||||
"knex": {
|
||||
"client": "sqlite3",
|
||||
"client": "better-sqlite3",
|
||||
"connection": {
|
||||
"filename": "/app/config/mydb.sqlite"
|
||||
},
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import bcrypt from "bcrypt";
|
||||
import crypto from "node:crypto";
|
||||
import { authenticator } from "otplib";
|
||||
import authModel from "../models/auth.js";
|
||||
import userModel from "../models/user.js";
|
||||
import bcrypt from "bcrypt";
|
||||
import { createGuardrails, generateSecret, generateURI, verify } from "otplib";
|
||||
import errs from "../lib/error.js";
|
||||
import authModel from "../models/auth.js";
|
||||
import internalUser from "./user.js";
|
||||
|
||||
const APP_NAME = "Nginx Proxy Manager";
|
||||
const BACKUP_CODE_COUNT = 8;
|
||||
@@ -26,134 +26,98 @@ const generateBackupCodes = async () => {
|
||||
return { plain, hashed };
|
||||
};
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Generate a new TOTP secret
|
||||
* @returns {string}
|
||||
*/
|
||||
generateSecret: () => {
|
||||
return authenticator.generateSecret();
|
||||
},
|
||||
|
||||
/**
|
||||
* Generate otpauth URL for QR code
|
||||
* @param {string} email
|
||||
* @param {string} secret
|
||||
* @returns {string}
|
||||
*/
|
||||
generateOTPAuthURL: (email, secret) => {
|
||||
return authenticator.keyuri(email, APP_NAME, secret);
|
||||
},
|
||||
|
||||
/**
|
||||
* Verify a TOTP code
|
||||
* @param {string} secret
|
||||
* @param {string} code
|
||||
* @returns {boolean}
|
||||
*/
|
||||
verifyCode: (secret, code) => {
|
||||
try {
|
||||
return authenticator.verify({ token: code, secret });
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
const internal2fa = {
|
||||
/**
|
||||
* Check if user has 2FA enabled
|
||||
* @param {number} userId
|
||||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
isEnabled: async (userId) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
|
||||
if (!auth || !auth.meta) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return auth.meta.totp_enabled === true;
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
return auth?.meta?.totp_enabled === true;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get 2FA status for user
|
||||
* @param {number} userId
|
||||
* @returns {Promise<{enabled: boolean, backupCodesRemaining: number}>}
|
||||
* @param {Access} access
|
||||
* @param {number} userId
|
||||
* @returns {Promise<{enabled: boolean, backup_codes_remaining: number}>}
|
||||
*/
|
||||
getStatus: async (userId) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
getStatus: async (access, userId) => {
|
||||
await access.can("users:password", userId);
|
||||
await internalUser.get(access, { id: userId });
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
const enabled = auth?.meta?.totp_enabled === true;
|
||||
let backup_codes_remaining = 0;
|
||||
|
||||
if (!auth || !auth.meta || !auth.meta.totp_enabled) {
|
||||
return { enabled: false, backupCodesRemaining: 0 };
|
||||
if (enabled) {
|
||||
const backupCodes = auth.meta.backup_codes || [];
|
||||
backup_codes_remaining = backupCodes.length;
|
||||
}
|
||||
|
||||
const backupCodes = auth.meta.backup_codes || [];
|
||||
return {
|
||||
enabled: true,
|
||||
backupCodesRemaining: backupCodes.length,
|
||||
enabled,
|
||||
backup_codes_remaining,
|
||||
};
|
||||
},
|
||||
|
||||
/**
|
||||
* Start 2FA setup - store pending secret
|
||||
* @param {number} userId
|
||||
* @returns {Promise<{secret: string, otpauthUrl: string}>}
|
||||
*
|
||||
* @param {Access} access
|
||||
* @param {number} userId
|
||||
* @returns {Promise<{secret: string, otpauth_url: string}>}
|
||||
*/
|
||||
startSetup: async (userId) => {
|
||||
const user = await userModel.query().where("id", userId).first();
|
||||
if (!user) {
|
||||
throw new errs.ItemNotFoundError("User not found");
|
||||
}
|
||||
startSetup: async (access, userId) => {
|
||||
await access.can("users:password", userId);
|
||||
const user = await internalUser.get(access, { id: userId });
|
||||
const secret = generateSecret();
|
||||
const otpauth_url = generateURI({
|
||||
issuer: APP_NAME,
|
||||
label: user.email,
|
||||
secret: secret,
|
||||
});
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
|
||||
const secret = authenticator.generateSecret();
|
||||
const otpauthUrl = authenticator.keyuri(user.email, APP_NAME, secret);
|
||||
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
|
||||
if (!auth) {
|
||||
throw new errs.ItemNotFoundError("Auth record not found");
|
||||
// ensure user isn't already setup for 2fa
|
||||
const enabled = auth?.meta?.totp_enabled === true;
|
||||
if (enabled) {
|
||||
throw new errs.ValidationError("2FA is already enabled");
|
||||
}
|
||||
|
||||
const meta = auth.meta || {};
|
||||
meta.totp_pending_secret = secret;
|
||||
|
||||
await authModel.query().where("id", auth.id).patch({ meta });
|
||||
await authModel
|
||||
.query()
|
||||
.where("id", auth.id)
|
||||
.andWhere("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.patch({ meta });
|
||||
|
||||
return { secret, otpauthUrl };
|
||||
return { secret, otpauth_url };
|
||||
},
|
||||
|
||||
/**
|
||||
* Enable 2FA after verifying code
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
* @returns {Promise<{backupCodes: string[]}>}
|
||||
*
|
||||
* @param {Access} access
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
* @returns {Promise<{backup_codes: string[]}>}
|
||||
*/
|
||||
enable: async (userId, code) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
enable: async (access, userId, code) => {
|
||||
await access.can("users:password", userId);
|
||||
await internalUser.get(access, { id: userId });
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
const secret = auth?.meta?.totp_pending_secret || false;
|
||||
|
||||
if (!auth || !auth.meta || !auth.meta.totp_pending_secret) {
|
||||
if (!secret) {
|
||||
throw new errs.ValidationError("No pending 2FA setup found");
|
||||
}
|
||||
|
||||
const secret = auth.meta.totp_pending_secret;
|
||||
const valid = authenticator.verify({ token: code, secret });
|
||||
|
||||
if (!valid) {
|
||||
const result = await verify({ token: code, secret });
|
||||
if (!result.valid) {
|
||||
throw new errs.ValidationError("Invalid verification code");
|
||||
}
|
||||
|
||||
@@ -168,35 +132,44 @@ export default {
|
||||
};
|
||||
delete meta.totp_pending_secret;
|
||||
|
||||
await authModel.query().where("id", auth.id).patch({ meta });
|
||||
await authModel
|
||||
.query()
|
||||
.where("id", auth.id)
|
||||
.andWhere("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.patch({ meta });
|
||||
|
||||
return { backupCodes: plain };
|
||||
return { backup_codes: plain };
|
||||
},
|
||||
|
||||
/**
|
||||
* Disable 2FA
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
*
|
||||
* @param {Access} access
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
disable: async (userId, code) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
disable: async (access, userId, code) => {
|
||||
await access.can("users:password", userId);
|
||||
await internalUser.get(access, { id: userId });
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
|
||||
if (!auth || !auth.meta || !auth.meta.totp_enabled) {
|
||||
const enabled = auth?.meta?.totp_enabled === true;
|
||||
if (!enabled) {
|
||||
throw new errs.ValidationError("2FA is not enabled");
|
||||
}
|
||||
|
||||
const valid = authenticator.verify({
|
||||
token: code,
|
||||
secret: auth.meta.totp_secret,
|
||||
});
|
||||
const result = await verify({
|
||||
token: code,
|
||||
secret: auth.meta.totp_secret,
|
||||
guardrails: createGuardrails({
|
||||
MIN_SECRET_BYTES: 10,
|
||||
}),
|
||||
});
|
||||
|
||||
if (!valid) {
|
||||
throw new errs.ValidationError("Invalid verification code");
|
||||
if (!result.valid) {
|
||||
throw new errs.AuthError("Invalid verification code");
|
||||
}
|
||||
|
||||
const meta = { ...auth.meta };
|
||||
@@ -205,46 +178,64 @@ export default {
|
||||
delete meta.totp_enabled_at;
|
||||
delete meta.backup_codes;
|
||||
|
||||
await authModel.query().where("id", auth.id).patch({ meta });
|
||||
await authModel
|
||||
.query()
|
||||
.where("id", auth.id)
|
||||
.andWhere("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.patch({ meta });
|
||||
},
|
||||
|
||||
/**
|
||||
* Verify 2FA code for login
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
*
|
||||
* @param {number} userId
|
||||
* @param {string} token
|
||||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
verifyForLogin: async (userId, code) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
verifyForLogin: async (userId, token) => {
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
const secret = auth?.meta?.totp_secret || false;
|
||||
|
||||
if (!auth || !auth.meta || !auth.meta.totp_secret) {
|
||||
if (!secret) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Try TOTP code first
|
||||
const valid = authenticator.verify({
|
||||
token: code,
|
||||
secret: auth.meta.totp_secret,
|
||||
});
|
||||
// Try TOTP code first, if it's 6 chars. it will throw errors if it's not 6 chars
|
||||
// and the backup codes are 8 chars.
|
||||
if (token.length === 6) {
|
||||
const result = await verify({
|
||||
token,
|
||||
secret,
|
||||
// These guardrails lower the minimum length requirement for secrets.
|
||||
// In v12 of otplib the default minimum length is 10 and in v13 it is 16.
|
||||
// Since there are 2fa secrets in the wild generated with v12 we need to allow shorter secrets
|
||||
// so people won't be locked out when upgrading.
|
||||
guardrails: createGuardrails({
|
||||
MIN_SECRET_BYTES: 10,
|
||||
}),
|
||||
});
|
||||
|
||||
if (valid) {
|
||||
return true;
|
||||
if (result.valid) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Try backup codes
|
||||
const backupCodes = auth.meta.backup_codes || [];
|
||||
const backupCodes = auth?.meta?.backup_codes || [];
|
||||
for (let i = 0; i < backupCodes.length; i++) {
|
||||
const match = await bcrypt.compare(code.toUpperCase(), backupCodes[i]);
|
||||
const match = await bcrypt.compare(token.toUpperCase(), backupCodes[i]);
|
||||
if (match) {
|
||||
// Remove used backup code
|
||||
const updatedCodes = [...backupCodes];
|
||||
updatedCodes.splice(i, 1);
|
||||
const meta = { ...auth.meta, backup_codes: updatedCodes };
|
||||
await authModel.query().where("id", auth.id).patch({ meta });
|
||||
await authModel
|
||||
.query()
|
||||
.where("id", auth.id)
|
||||
.andWhere("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.patch({ meta });
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -254,35 +245,61 @@ export default {
|
||||
|
||||
/**
|
||||
* Regenerate backup codes
|
||||
* @param {number} userId
|
||||
* @param {string} code
|
||||
* @returns {Promise<{backupCodes: string[]}>}
|
||||
*
|
||||
* @param {Access} access
|
||||
* @param {number} userId
|
||||
* @param {string} token
|
||||
* @returns {Promise<{backup_codes: string[]}>}
|
||||
*/
|
||||
regenerateBackupCodes: async (userId, code) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.where("type", "password")
|
||||
.first();
|
||||
regenerateBackupCodes: async (access, userId, token) => {
|
||||
await access.can("users:password", userId);
|
||||
await internalUser.get(access, { id: userId });
|
||||
const auth = await internal2fa.getUserPasswordAuth(userId);
|
||||
const enabled = auth?.meta?.totp_enabled === true;
|
||||
const secret = auth?.meta?.totp_secret || false;
|
||||
|
||||
if (!auth || !auth.meta || !auth.meta.totp_enabled) {
|
||||
if (!enabled) {
|
||||
throw new errs.ValidationError("2FA is not enabled");
|
||||
}
|
||||
if (!secret) {
|
||||
throw new errs.ValidationError("No 2FA secret found");
|
||||
}
|
||||
|
||||
const valid = authenticator.verify({
|
||||
token: code,
|
||||
secret: auth.meta.totp_secret,
|
||||
const result = await verify({
|
||||
token,
|
||||
secret,
|
||||
});
|
||||
|
||||
if (!valid) {
|
||||
if (!result.valid) {
|
||||
throw new errs.ValidationError("Invalid verification code");
|
||||
}
|
||||
|
||||
const { plain, hashed } = await generateBackupCodes();
|
||||
|
||||
const meta = { ...auth.meta, backup_codes: hashed };
|
||||
await authModel.query().where("id", auth.id).patch({ meta });
|
||||
await authModel
|
||||
.query()
|
||||
.where("id", auth.id)
|
||||
.andWhere("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.patch({ meta });
|
||||
|
||||
return { backupCodes: plain };
|
||||
return { backup_codes: plain };
|
||||
},
|
||||
|
||||
getUserPasswordAuth: async (userId) => {
|
||||
const auth = await authModel
|
||||
.query()
|
||||
.where("user_id", userId)
|
||||
.andWhere("type", "password")
|
||||
.first();
|
||||
|
||||
if (!auth) {
|
||||
throw new errs.ItemNotFoundError("Auth not found");
|
||||
}
|
||||
|
||||
return auth;
|
||||
},
|
||||
};
|
||||
|
||||
export default internal2fa;
|
||||
|
||||
@@ -630,7 +630,7 @@ const internalCertificate = {
|
||||
* @param {String} privateKey This is the entire key contents as a string
|
||||
*/
|
||||
checkPrivateKey: async (privateKey) => {
|
||||
const filepath = await tempWrite(privateKey, "/tmp");
|
||||
const filepath = await tempWrite(privateKey);
|
||||
const failTimeout = setTimeout(() => {
|
||||
throw new error.ValidationError(
|
||||
"Result Validation Error: Validation timed out. This could be due to the key being passphrase-protected.",
|
||||
@@ -660,8 +660,8 @@ const internalCertificate = {
|
||||
* @param {Boolean} [throwExpired] Throw when the certificate is out of date
|
||||
*/
|
||||
getCertificateInfo: async (certificate, throwExpired) => {
|
||||
const filepath = await tempWrite(certificate);
|
||||
try {
|
||||
const filepath = await tempWrite(certificate, "/tmp");
|
||||
const certData = await internalCertificate.getCertificateInfoFromFile(filepath, throwExpired);
|
||||
fs.unlinkSync(filepath);
|
||||
return certData;
|
||||
|
||||
@@ -2,10 +2,13 @@ import fs from "node:fs";
|
||||
import NodeRSA from "node-rsa";
|
||||
import { global as logger } from "../logger.js";
|
||||
|
||||
const keysFile = '/data/keys.json';
|
||||
const mysqlEngine = 'mysql2';
|
||||
const postgresEngine = 'pg';
|
||||
const sqliteClientName = 'sqlite3';
|
||||
const keysFile = '/data/keys.json';
|
||||
const mysqlEngine = 'mysql2';
|
||||
const postgresEngine = 'pg';
|
||||
const sqliteClientName = 'better-sqlite3';
|
||||
|
||||
// Not used for new setups anymore but may exist in legacy setups
|
||||
const legacySqliteClientName = 'sqlite3';
|
||||
|
||||
let instance = null;
|
||||
|
||||
@@ -84,6 +87,7 @@ const configure = () => {
|
||||
}
|
||||
|
||||
const envSqliteFile = process.env.DB_SQLITE_FILE || "/data/database.sqlite";
|
||||
|
||||
logger.info(`Using Sqlite: ${envSqliteFile}`);
|
||||
instance = {
|
||||
database: {
|
||||
@@ -183,7 +187,7 @@ const configGet = (key) => {
|
||||
*/
|
||||
const isSqlite = () => {
|
||||
instance === null && configure();
|
||||
return instance.database.knex && instance.database.knex.client === sqliteClientName;
|
||||
return instance.database.knex && [sqliteClientName, legacySqliteClientName].includes(instance.database.knex.client);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
43
backend/migrations/20260131163528_trust_forwarded_proto.js
Normal file
43
backend/migrations/20260131163528_trust_forwarded_proto.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import { migrate as logger } from "../logger.js";
|
||||
|
||||
const migrateName = "trust_forwarded_proto";
|
||||
|
||||
/**
|
||||
* Migrate
|
||||
*
|
||||
* @see http://knexjs.org/#Schema
|
||||
*
|
||||
* @param {Object} knex
|
||||
* @returns {Promise}
|
||||
*/
|
||||
const up = function (knex) {
|
||||
logger.info(`[${migrateName}] Migrating Up...`);
|
||||
|
||||
return knex.schema
|
||||
.alterTable('proxy_host', (table) => {
|
||||
table.tinyint('trust_forwarded_proto').notNullable().defaultTo(0);
|
||||
})
|
||||
.then(() => {
|
||||
logger.info(`[${migrateName}] proxy_host Table altered`);
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Undo Migrate
|
||||
*
|
||||
* @param {Object} knex
|
||||
* @returns {Promise}
|
||||
*/
|
||||
const down = function (knex) {
|
||||
logger.info(`[${migrateName}] Migrating Down...`);
|
||||
|
||||
return knex.schema
|
||||
.alterTable('proxy_host', (table) => {
|
||||
table.dropColumn('trust_forwarded_proto');
|
||||
})
|
||||
.then(() => {
|
||||
logger.info(`[${migrateName}] proxy_host Table altered`);
|
||||
});
|
||||
};
|
||||
|
||||
export { up, down };
|
||||
@@ -21,6 +21,7 @@ const boolFields = [
|
||||
"enabled",
|
||||
"hsts_enabled",
|
||||
"hsts_subdomains",
|
||||
"trust_forwarded_proto",
|
||||
];
|
||||
|
||||
class ProxyHost extends Model {
|
||||
|
||||
@@ -12,37 +12,38 @@
|
||||
"validate-schema": "node validate-schema.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apidevtools/json-schema-ref-parser": "^11.7.0",
|
||||
"ajv": "^8.17.1",
|
||||
"archiver": "^5.3.0",
|
||||
"@apidevtools/json-schema-ref-parser": "^15.2.2",
|
||||
"ajv": "^8.18.0",
|
||||
"archiver": "^7.0.1",
|
||||
"batchflow": "^0.4.0",
|
||||
"bcrypt": "^5.0.0",
|
||||
"body-parser": "^1.20.3",
|
||||
"compression": "^1.7.4",
|
||||
"express": "^4.22.0",
|
||||
"bcrypt": "^6.0.0",
|
||||
"better-sqlite3": "^12.6.2",
|
||||
"body-parser": "^2.2.2",
|
||||
"compression": "^1.8.1",
|
||||
"express": "^5.2.1",
|
||||
"express-fileupload": "^1.5.2",
|
||||
"gravatar": "^1.8.2",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"knex": "2.4.2",
|
||||
"liquidjs": "10.6.1",
|
||||
"lodash": "^4.17.21",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"knex": "3.1.0",
|
||||
"liquidjs": "10.24.0",
|
||||
"lodash": "^4.17.23",
|
||||
"moment": "^2.30.1",
|
||||
"mysql2": "^3.15.3",
|
||||
"mysql2": "^3.17.3",
|
||||
"node-rsa": "^1.1.1",
|
||||
"objection": "3.0.1",
|
||||
"otplib": "^12.0.1",
|
||||
"objection": "3.1.5",
|
||||
"otplib": "^13.3.0",
|
||||
"path": "^0.12.7",
|
||||
"pg": "^8.16.3",
|
||||
"pg": "^8.18.0",
|
||||
"proxy-agent": "^6.5.0",
|
||||
"signale": "1.4.0",
|
||||
"sqlite3": "^5.1.7",
|
||||
"temp-write": "^4.0.0"
|
||||
"temp-write": "^6.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@apidevtools/swagger-parser": "^10.1.0",
|
||||
"@biomejs/biome": "^2.3.2",
|
||||
"chalk": "4.1.2",
|
||||
"nodemon": "^2.0.2"
|
||||
"@apidevtools/swagger-parser": "^12.1.0",
|
||||
"@biomejs/biome": "^2.4.3",
|
||||
"chalk": "5.6.2",
|
||||
"nodemon": "^3.1.13"
|
||||
},
|
||||
"signale": {
|
||||
"displayDate": true,
|
||||
|
||||
@@ -66,16 +66,7 @@ router
|
||||
*/
|
||||
.post(async (req, res, next) => {
|
||||
try {
|
||||
const { challenge_token, code } = req.body;
|
||||
|
||||
if (!challenge_token || !code) {
|
||||
return res.status(400).json({
|
||||
error: {
|
||||
message: "Missing challenge_token or code",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
const { challenge_token, code } = await apiValidator(getValidationSchema("/tokens/2fa", "post"), req.body);
|
||||
const result = await internalToken.verify2FA(challenge_token, code);
|
||||
res.status(200).send(result);
|
||||
} catch (err) {
|
||||
|
||||
@@ -339,6 +339,21 @@ router
|
||||
.all(jwtdecode())
|
||||
.all(userIdFromMe)
|
||||
|
||||
/**
|
||||
* POST /api/users/123/2fa
|
||||
*
|
||||
* Start 2FA setup, returns QR code URL
|
||||
*/
|
||||
.post(async (req, res, next) => {
|
||||
try {
|
||||
const result = await internal2FA.startSetup(res.locals.access, req.params.user_id);
|
||||
res.status(200).send(result);
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
next(err);
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* GET /api/users/123/2fa
|
||||
*
|
||||
@@ -346,15 +361,7 @@ router
|
||||
*/
|
||||
.get(async (req, res, next) => {
|
||||
try {
|
||||
const userId = Number.parseInt(req.params.user_id, 10);
|
||||
const access = res.locals.access;
|
||||
|
||||
// Users can only view their own 2FA status
|
||||
if (access.token.getUserId() !== userId && !access.token.hasScope("admin")) {
|
||||
throw new errs.PermissionError("Cannot view 2FA status for other users");
|
||||
}
|
||||
|
||||
const status = await internal2FA.getStatus(userId);
|
||||
const status = await internal2FA.getStatus(res.locals.access, req.params.user_id);
|
||||
res.status(200).send(status);
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
@@ -363,63 +370,18 @@ router
|
||||
})
|
||||
|
||||
/**
|
||||
* DELETE /api/users/123/2fa
|
||||
* DELETE /api/users/123/2fa?code=XXXXXX
|
||||
*
|
||||
* Disable 2FA for a user
|
||||
*/
|
||||
.delete(async (req, res, next) => {
|
||||
try {
|
||||
const userId = Number.parseInt(req.params.user_id, 10);
|
||||
const access = res.locals.access;
|
||||
|
||||
// Users can only disable their own 2FA
|
||||
if (access.token.getUserId() !== userId && !access.token.hasScope("admin")) {
|
||||
throw new errs.PermissionError("Cannot disable 2FA for other users");
|
||||
}
|
||||
|
||||
const { code } = req.body;
|
||||
const code = typeof req.query.code === "string" ? req.query.code : null;
|
||||
if (!code) {
|
||||
throw new errs.ValidationError("Verification code is required");
|
||||
throw new errs.ValidationError("Missing required parameter: code");
|
||||
}
|
||||
|
||||
await internal2FA.disable(userId, code);
|
||||
res.status(200).send({ success: true });
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
next(err);
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* User 2FA setup
|
||||
*
|
||||
* /api/users/123/2fa/setup
|
||||
*/
|
||||
router
|
||||
.route("/:user_id/2fa/setup")
|
||||
.options((_, res) => {
|
||||
res.sendStatus(204);
|
||||
})
|
||||
.all(jwtdecode())
|
||||
.all(userIdFromMe)
|
||||
|
||||
/**
|
||||
* POST /api/users/123/2fa/setup
|
||||
*
|
||||
* Start 2FA setup, returns QR code URL
|
||||
*/
|
||||
.post(async (req, res, next) => {
|
||||
try {
|
||||
const userId = Number.parseInt(req.params.user_id, 10);
|
||||
const access = res.locals.access;
|
||||
|
||||
// Users can only setup their own 2FA
|
||||
if (access.token.getUserId() !== userId) {
|
||||
throw new errs.PermissionError("Cannot setup 2FA for other users");
|
||||
}
|
||||
|
||||
const result = await internal2FA.startSetup(userId);
|
||||
res.status(200).send(result);
|
||||
await internal2FA.disable(res.locals.access, req.params.user_id, code);
|
||||
res.status(200).send(true);
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
next(err);
|
||||
@@ -440,26 +402,17 @@ router
|
||||
.all(userIdFromMe)
|
||||
|
||||
/**
|
||||
* PUT /api/users/123/2fa/enable
|
||||
* POST /api/users/123/2fa/enable
|
||||
*
|
||||
* Verify code and enable 2FA
|
||||
*/
|
||||
.put(async (req, res, next) => {
|
||||
.post(async (req, res, next) => {
|
||||
try {
|
||||
const userId = Number.parseInt(req.params.user_id, 10);
|
||||
const access = res.locals.access;
|
||||
|
||||
// Users can only enable their own 2FA
|
||||
if (access.token.getUserId() !== userId) {
|
||||
throw new errs.PermissionError("Cannot enable 2FA for other users");
|
||||
}
|
||||
|
||||
const { code } = req.body;
|
||||
if (!code) {
|
||||
throw new errs.ValidationError("Verification code is required");
|
||||
}
|
||||
|
||||
const result = await internal2FA.enable(userId, code);
|
||||
const { code } = await apiValidator(
|
||||
getValidationSchema("/users/{userID}/2fa/enable", "post"),
|
||||
req.body,
|
||||
);
|
||||
const result = await internal2FA.enable(res.locals.access, req.params.user_id, code);
|
||||
res.status(200).send(result);
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
@@ -487,20 +440,11 @@ router
|
||||
*/
|
||||
.post(async (req, res, next) => {
|
||||
try {
|
||||
const userId = Number.parseInt(req.params.user_id, 10);
|
||||
const access = res.locals.access;
|
||||
|
||||
// Users can only regenerate their own backup codes
|
||||
if (access.token.getUserId() !== userId) {
|
||||
throw new errs.PermissionError("Cannot regenerate backup codes for other users");
|
||||
}
|
||||
|
||||
const { code } = req.body;
|
||||
if (!code) {
|
||||
throw new errs.ValidationError("Verification code is required");
|
||||
}
|
||||
|
||||
const result = await internal2FA.regenerateBackupCodes(userId, code);
|
||||
const { code } = await apiValidator(
|
||||
getValidationSchema("/users/{userID}/2fa/backup-codes", "post"),
|
||||
req.body,
|
||||
);
|
||||
const result = await internal2FA.regenerateBackupCodes(res.locals.access, req.params.user_id, code);
|
||||
res.status(200).send(result);
|
||||
} catch (err) {
|
||||
debug(logger, `${req.method.toUpperCase()} ${req.path}: ${err}`);
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"enabled",
|
||||
"locations",
|
||||
"hsts_enabled",
|
||||
"hsts_subdomains"
|
||||
"hsts_subdomains",
|
||||
"trust_forwarded_proto"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -141,6 +142,11 @@
|
||||
"hsts_subdomains": {
|
||||
"$ref": "../common.json#/properties/hsts_subdomains"
|
||||
},
|
||||
"trust_forwarded_proto":{
|
||||
"type": "boolean",
|
||||
"description": "Trust the forwarded headers",
|
||||
"example": false
|
||||
},
|
||||
"certificate": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
||||
18
backend/schema/components/token-challenge.json
Normal file
18
backend/schema/components/token-challenge.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "Token object",
|
||||
"required": ["requires_2fa", "challenge_token"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"requires_2fa": {
|
||||
"description": "Whether this token request requires two-factor authentication",
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"challenge_token": {
|
||||
"description": "Challenge Token used in subsequent 2FA verification",
|
||||
"example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,8 @@
|
||||
"enabled": true,
|
||||
"locations": [],
|
||||
"hsts_enabled": false,
|
||||
"hsts_subdomains": false
|
||||
"hsts_subdomains": false,
|
||||
"trust_forwarded_proto": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
"locations": [],
|
||||
"hsts_enabled": false,
|
||||
"hsts_subdomains": false,
|
||||
"trust_forwarded_proto": false,
|
||||
"owner": {
|
||||
"id": 1,
|
||||
"created_on": "2025-10-28T00:50:24.000Z",
|
||||
|
||||
@@ -56,6 +56,9 @@
|
||||
"hsts_subdomains": {
|
||||
"$ref": "../../../../components/proxy-host-object.json#/properties/hsts_subdomains"
|
||||
},
|
||||
"trust_forwarded_proto": {
|
||||
"$ref": "../../../../components/proxy-host-object.json#/properties/trust_forwarded_proto"
|
||||
},
|
||||
"http2_support": {
|
||||
"$ref": "../../../../components/proxy-host-object.json#/properties/http2_support"
|
||||
},
|
||||
@@ -122,6 +125,7 @@
|
||||
"locations": [],
|
||||
"hsts_enabled": false,
|
||||
"hsts_subdomains": false,
|
||||
"trust_forwarded_proto": false,
|
||||
"owner": {
|
||||
"id": 1,
|
||||
"created_on": "2025-10-28T00:50:24.000Z",
|
||||
|
||||
@@ -48,6 +48,9 @@
|
||||
"hsts_subdomains": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/hsts_subdomains"
|
||||
},
|
||||
"trust_forwarded_proto": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/trust_forwarded_proto"
|
||||
},
|
||||
"http2_support": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/http2_support"
|
||||
},
|
||||
@@ -119,6 +122,7 @@
|
||||
"locations": [],
|
||||
"hsts_enabled": false,
|
||||
"hsts_subdomains": false,
|
||||
"trust_forwarded_proto": false,
|
||||
"certificate": null,
|
||||
"owner": {
|
||||
"id": 1,
|
||||
|
||||
55
backend/schema/paths/tokens/2fa/post.json
Normal file
55
backend/schema/paths/tokens/2fa/post.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"operationId": "loginWith2FA",
|
||||
"summary": "Verify 2FA code and get full token",
|
||||
"tags": ["tokens"],
|
||||
"requestBody": {
|
||||
"description": "2fa Challenge Payload",
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"challenge_token": {
|
||||
"minLength": 1,
|
||||
"type": "string",
|
||||
"example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4"
|
||||
},
|
||||
"code": {
|
||||
"minLength": 6,
|
||||
"maxLength": 8,
|
||||
"type": "string",
|
||||
"example": "012345"
|
||||
}
|
||||
},
|
||||
"required": ["challenge_token", "code"],
|
||||
"type": "object"
|
||||
},
|
||||
"example": {
|
||||
"challenge_token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4",
|
||||
"code": "012345"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": {
|
||||
"expires": "2025-02-04T20:40:46.340Z",
|
||||
"token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "../../../components/token-object.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "200 response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,14 @@
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "../../components/token-object.json"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "../../components/token-object.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../components/token-challenge.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
92
backend/schema/paths/users/userID/2fa/backup-codes/post.json
Normal file
92
backend/schema/paths/users/userID/2fa/backup-codes/post.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"operationId": "regenUser2faCodes",
|
||||
"summary": "Regenerate 2FA backup codes",
|
||||
"tags": ["users"],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "userID",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"required": true,
|
||||
"description": "User ID",
|
||||
"example": 2
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Verification Payload",
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"minLength": 6,
|
||||
"maxLength": 8,
|
||||
"type": "string",
|
||||
"example": "123456"
|
||||
}
|
||||
},
|
||||
"required": ["code"],
|
||||
"type": "object"
|
||||
},
|
||||
"example": {
|
||||
"code": "123456"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": {
|
||||
"backup_codes": [
|
||||
"6CD7CB06",
|
||||
"495302F3",
|
||||
"D8037852",
|
||||
"A6FFC956",
|
||||
"BC1A1851",
|
||||
"A05E644F",
|
||||
"A406D2E8",
|
||||
"0AE3C522"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["backup_codes"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"backup_codes": {
|
||||
"description": "Backup codes",
|
||||
"example": [
|
||||
"6CD7CB06",
|
||||
"495302F3",
|
||||
"D8037852",
|
||||
"A6FFC956",
|
||||
"BC1A1851",
|
||||
"A05E644F",
|
||||
"A406D2E8",
|
||||
"0AE3C522"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"example": "6CD7CB06"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "200 response"
|
||||
}
|
||||
}
|
||||
}
|
||||
48
backend/schema/paths/users/userID/2fa/delete.json
Normal file
48
backend/schema/paths/users/userID/2fa/delete.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"operationId": "disableUser2fa",
|
||||
"summary": "Disable 2fa for user",
|
||||
"tags": ["users"],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "userID",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"required": true,
|
||||
"description": "User ID",
|
||||
"example": 2
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "code",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"minLength": 6,
|
||||
"maxLength": 6,
|
||||
"example": "012345"
|
||||
},
|
||||
"required": true,
|
||||
"description": "2fa Code",
|
||||
"example": "012345"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "200 response"
|
||||
}
|
||||
}
|
||||
}
|
||||
92
backend/schema/paths/users/userID/2fa/enable/post.json
Normal file
92
backend/schema/paths/users/userID/2fa/enable/post.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"operationId": "enableUser2fa",
|
||||
"summary": "Verify code and enable 2FA",
|
||||
"tags": ["users"],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "userID",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"required": true,
|
||||
"description": "User ID",
|
||||
"example": 2
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Verification Payload",
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"minLength": 6,
|
||||
"maxLength": 8,
|
||||
"type": "string",
|
||||
"example": "123456"
|
||||
}
|
||||
},
|
||||
"required": ["code"],
|
||||
"type": "object"
|
||||
},
|
||||
"example": {
|
||||
"code": "123456"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": {
|
||||
"backup_codes": [
|
||||
"6CD7CB06",
|
||||
"495302F3",
|
||||
"D8037852",
|
||||
"A6FFC956",
|
||||
"BC1A1851",
|
||||
"A05E644F",
|
||||
"A406D2E8",
|
||||
"0AE3C522"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["backup_codes"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"backup_codes": {
|
||||
"description": "Backup codes",
|
||||
"example": [
|
||||
"6CD7CB06",
|
||||
"495302F3",
|
||||
"D8037852",
|
||||
"A6FFC956",
|
||||
"BC1A1851",
|
||||
"A05E644F",
|
||||
"A406D2E8",
|
||||
"0AE3C522"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"example": "6CD7CB06"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "200 response"
|
||||
}
|
||||
}
|
||||
}
|
||||
57
backend/schema/paths/users/userID/2fa/get.json
Normal file
57
backend/schema/paths/users/userID/2fa/get.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"operationId": "getUser2faStatus",
|
||||
"summary": "Get user 2fa Status",
|
||||
"tags": ["users"],
|
||||
"security": [
|
||||
{
|
||||
"bearerAuth": []
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "userID",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"required": true,
|
||||
"description": "User ID",
|
||||
"example": 2
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200 response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": {
|
||||
"enabled": false,
|
||||
"backup_codes_remaining": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["enabled", "backup_codes_remaining"],
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Is 2FA enabled for this user",
|
||||
"example": true
|
||||
},
|
||||
"backup_codes_remaining": {
|
||||
"type": "integer",
|
||||
"description": "Number of remaining backup codes for this user",
|
||||
"example": 5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
backend/schema/paths/users/userID/2fa/post.json
Normal file
52
backend/schema/paths/users/userID/2fa/post.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"operationId": "setupUser2fa",
|
||||
"summary": "Start 2FA setup, returns QR code URL",
|
||||
"tags": ["users"],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "userID",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"required": true,
|
||||
"description": "User ID",
|
||||
"example": 2
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": {
|
||||
"secret": "JZYCEBIEEJYUGPQM",
|
||||
"otpauth_url": "otpauth://totp/Nginx%20Proxy%20Manager:jc%40jc21.com?secret=JZYCEBIEEJYUGPQM&period=30&digits=6&algorithm=SHA1&issuer=Nginx%20Proxy%20Manager"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["secret", "otpauth_url"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"secret": {
|
||||
"description": "TOTP Secret",
|
||||
"example": "JZYCEBIEEJYUGPQM",
|
||||
"type": "string"
|
||||
},
|
||||
"otpauth_url": {
|
||||
"description": "OTP Auth URL for QR Code generation",
|
||||
"example": "otpauth://totp/Nginx%20Proxy%20Manager:jc%40jc21.com?secret=JZYCEBIEEJYUGPQM&period=30&digits=6&algorithm=SHA1&issuer=Nginx%20Proxy%20Manager",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "200 response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -293,6 +293,11 @@
|
||||
"$ref": "./paths/tokens/post.json"
|
||||
}
|
||||
},
|
||||
"/tokens/2fa": {
|
||||
"post": {
|
||||
"$ref": "./paths/tokens/2fa/post.json"
|
||||
}
|
||||
},
|
||||
"/version/check": {
|
||||
"get": {
|
||||
"$ref": "./paths/version/check/get.json"
|
||||
@@ -317,6 +322,27 @@
|
||||
"$ref": "./paths/users/userID/delete.json"
|
||||
}
|
||||
},
|
||||
"/users/{userID}/2fa": {
|
||||
"post": {
|
||||
"$ref": "./paths/users/userID/2fa/post.json"
|
||||
},
|
||||
"get": {
|
||||
"$ref": "./paths/users/userID/2fa/get.json"
|
||||
},
|
||||
"delete": {
|
||||
"$ref": "./paths/users/userID/2fa/delete.json"
|
||||
}
|
||||
},
|
||||
"/users/{userID}/2fa/enable": {
|
||||
"post": {
|
||||
"$ref": "./paths/users/userID/2fa/enable/post.json"
|
||||
}
|
||||
},
|
||||
"/users/{userID}/2fa/backup-codes": {
|
||||
"post": {
|
||||
"$ref": "./paths/users/userID/2fa/backup-codes/post.json"
|
||||
}
|
||||
},
|
||||
"/users/{userID}/auth": {
|
||||
"put": {
|
||||
"$ref": "./paths/users/userID/auth/put.json"
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{% if certificate and certificate_id > 0 -%}
|
||||
{% if ssl_forced == 1 or ssl_forced == true %}
|
||||
# Force SSL
|
||||
{% if trust_forwarded_proto == true %}
|
||||
set $trust_forwarded_proto "T";
|
||||
{% else %}
|
||||
set $trust_forwarded_proto "F";
|
||||
{% endif %}
|
||||
include conf.d/include/force-ssl.conf;
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
1504
backend/yarn.lock
1504
backend/yarn.lock
File diff suppressed because it is too large
Load Diff
@@ -109,7 +109,7 @@ services:
|
||||
- "cypress_logs:/test/results"
|
||||
- "./dev/resolv.conf:/etc/resolv.conf:ro"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
command: cypress run --browser chrome --config-file=cypress/config/ci.js
|
||||
command: cypress run --browser chrome --config-file=cypress/config/ci.mjs
|
||||
networks:
|
||||
- fulltest
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ services:
|
||||
- "../test/results:/results"
|
||||
- "./dev/resolv.conf:/etc/resolv.conf:ro"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
command: cypress run --browser chrome --config-file=cypress/config/ci.js
|
||||
command: cypress run --browser chrome --config-file=cypress/config/ci.mjs
|
||||
networks:
|
||||
- nginx_proxy_manager
|
||||
|
||||
|
||||
@@ -5,6 +5,28 @@ if ($scheme = "http") {
|
||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||
set $test "${test}T";
|
||||
}
|
||||
|
||||
# Check if the ssl staff has been handled
|
||||
set $test_ssl_handled "";
|
||||
if ($trust_forwarded_proto = "") {
|
||||
set $trust_forwarded_proto "F";
|
||||
}
|
||||
if ($trust_forwarded_proto = "T") {
|
||||
set $test_ssl_handled "${test_ssl_handled}T";
|
||||
}
|
||||
if ($http_x_forwarded_proto = "https") {
|
||||
set $test_ssl_handled "${test_ssl_handled}S";
|
||||
}
|
||||
if ($http_x_forwarded_scheme = "https") {
|
||||
set $test_ssl_handled "${test_ssl_handled}S";
|
||||
}
|
||||
if ($test_ssl_handled = "TSS") {
|
||||
set $test_ssl_handled "TS";
|
||||
}
|
||||
if ($test_ssl_handled = "TS") {
|
||||
set $test "${test}S";
|
||||
}
|
||||
|
||||
if ($test = H) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
add_header X-Served-By $host;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Scheme $x_forwarded_scheme;
|
||||
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_pass $forward_scheme://$server:$port$request_uri;
|
||||
|
||||
@@ -57,6 +57,18 @@ http {
|
||||
default http;
|
||||
}
|
||||
|
||||
# Handle upstream X-Forwarded-Proto and X-Forwarded-Scheme header
|
||||
map $http_x_forwarded_proto $x_forwarded_proto {
|
||||
"http" "http";
|
||||
"https" "https";
|
||||
default $scheme;
|
||||
}
|
||||
map $http_x_forwarded_scheme $x_forwarded_scheme {
|
||||
"http" "http";
|
||||
"https" "https";
|
||||
default $scheme;
|
||||
}
|
||||
|
||||
# Real IP Determination
|
||||
|
||||
# Local subnets:
|
||||
|
||||
@@ -17,10 +17,6 @@ case $TARGETPLATFORM in
|
||||
S6_ARCH=aarch64
|
||||
;;
|
||||
|
||||
linux/arm/v7)
|
||||
S6_ARCH=armhf
|
||||
;;
|
||||
|
||||
*)
|
||||
S6_ARCH=x86_64
|
||||
;;
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"scripts": {
|
||||
"dev": "vitepress dev --host",
|
||||
"build": "vitepress build",
|
||||
"preview": "vitepress preview"
|
||||
"preview": "vitepress preview",
|
||||
"set-version": "./scripts/set-version.sh"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitepress": "^1.6.4"
|
||||
|
||||
17
docs/scripts/set-version.sh
Executable file
17
docs/scripts/set-version.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -euf
|
||||
|
||||
# this script accepts a version number as an argument
|
||||
# and replaces {{VERSION}} in src/*.md with the provided version number.
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $0 <version>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$DIR/.." || exit 1
|
||||
|
||||
VERSION="$1"
|
||||
# find all .md files in src/ and replace {{VERSION}} with the provided version number
|
||||
find src/ -type f -name "*.md" -exec sed -i "s/{{VERSION}}/$VERSION/g" {} \;
|
||||
@@ -1,176 +0,0 @@
|
||||
# Two-Factor Authentication Implementation
|
||||
|
||||
> **Note:** This document should be deleted after PR approval. It serves as a reference for reviewers to understand the scope of the contribution.
|
||||
|
||||
---
|
||||
|
||||
**Acknowledgments**
|
||||
|
||||
Thanks to all contributors and authors from the Inte.Team for the great work on Nginx Proxy Manager. It saves us time and effort, and we're happy to contribute back to the project.
|
||||
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Add TOTP-based two-factor authentication to the login flow. Users can enable 2FA from their profile settings, scan a QR code with any authenticator app (Google Authenticator, Authy, etc.), and will be required to enter a 6-digit code on login.
|
||||
|
||||
## Current Authentication Flow
|
||||
|
||||
```
|
||||
POST /tokens {identity, secret}
|
||||
-> Validate user exists and is not disabled
|
||||
-> Verify password against auth.secret
|
||||
-> Return JWT token
|
||||
```
|
||||
|
||||
## Proposed 2FA Flow
|
||||
|
||||
```
|
||||
POST /tokens {identity, secret}
|
||||
-> Validate user exists and is not disabled
|
||||
-> Verify password against auth.secret
|
||||
-> If 2FA enabled:
|
||||
Return {requires_2fa: true, challenge_token: <short-lived JWT>}
|
||||
-> Else:
|
||||
Return {token: <JWT>, expires: <timestamp>}
|
||||
|
||||
POST /tokens/2fa {challenge_token, code}
|
||||
-> Validate challenge_token
|
||||
-> Verify TOTP code against user's secret
|
||||
-> Return {token: <JWT>, expires: <timestamp>}
|
||||
```
|
||||
|
||||
## Database Changes
|
||||
|
||||
Extend the existing `auth.meta` JSON column to store 2FA data:
|
||||
|
||||
```json
|
||||
{
|
||||
"totp_secret": "<encrypted-secret>",
|
||||
"totp_enabled": true,
|
||||
"totp_enabled_at": "<timestamp>",
|
||||
"backup_codes": ["<hashed-code-1>", "<hashed-code-2>", ...]
|
||||
}
|
||||
```
|
||||
|
||||
No new tables required. The `auth.meta` column is already designed for this purpose.
|
||||
|
||||
## Backend Changes
|
||||
|
||||
### New Files
|
||||
|
||||
1. `backend/internal/2fa.js` - Core 2FA logic
|
||||
- `generateSecret()` - Generate TOTP secret
|
||||
- `generateQRCodeURL(user, secret)` - Generate otpauth URL
|
||||
- `verifyCode(secret, code)` - Verify TOTP code
|
||||
- `generateBackupCodes()` - Generate 8 backup codes
|
||||
- `verifyBackupCode(user, code)` - Verify and consume backup code
|
||||
|
||||
2. `backend/routes/2fa.js` - 2FA management endpoints
|
||||
- `GET /users/:id/2fa` - Get 2FA status
|
||||
- `POST /users/:id/2fa/setup` - Start 2FA setup, return QR code
|
||||
- `PUT /users/:id/2fa/enable` - Verify code and enable 2FA
|
||||
- `DELETE /users/:id/2fa` - Disable 2FA (requires code)
|
||||
- `GET /users/:id/2fa/backup-codes` - View remaining backup codes count
|
||||
- `POST /users/:id/2fa/backup-codes` - Regenerate backup codes
|
||||
|
||||
### Modified Files
|
||||
|
||||
1. `backend/internal/token.js`
|
||||
- Update `getTokenFromEmail()` to check for 2FA
|
||||
- Add `verifyTwoFactorChallenge()` function
|
||||
- Add `createChallengeToken()` for short-lived 2FA tokens
|
||||
|
||||
2. `backend/routes/tokens.js`
|
||||
- Add `POST /tokens/2fa` endpoint
|
||||
|
||||
3. `backend/index.js`
|
||||
- Register new 2FA routes
|
||||
|
||||
### Dependencies
|
||||
|
||||
Add to `package.json`:
|
||||
```json
|
||||
"otplib": "^12.0.1"
|
||||
```
|
||||
|
||||
## Frontend Changes
|
||||
|
||||
### New Files
|
||||
|
||||
1. `frontend/src/pages/Login2FA/index.tsx` - 2FA code entry page
|
||||
2. `frontend/src/modals/TwoFactorSetupModal.tsx` - Setup wizard modal
|
||||
3. `frontend/src/api/backend/twoFactor.ts` - 2FA API functions
|
||||
4. `frontend/src/api/backend/verify2FA.ts` - Token verification
|
||||
|
||||
### Modified Files
|
||||
|
||||
1. `frontend/src/api/backend/responseTypes.ts`
|
||||
- Add `TwoFactorChallengeResponse` type
|
||||
- Add `TwoFactorStatusResponse` type
|
||||
|
||||
2. `frontend/src/context/AuthContext.tsx`
|
||||
- Add `twoFactorRequired` state
|
||||
- Add `challengeToken` state
|
||||
- Update `login()` to handle 2FA response
|
||||
- Add `verify2FA()` function
|
||||
|
||||
3. `frontend/src/pages/Login/index.tsx`
|
||||
- Handle 2FA challenge response
|
||||
- Redirect to 2FA entry when required
|
||||
|
||||
4. `frontend/src/pages/Settings/` (or user profile)
|
||||
- Add 2FA enable/disable section
|
||||
|
||||
### Dependencies
|
||||
|
||||
Add to `package.json`:
|
||||
```json
|
||||
"qrcode.react": "^3.1.0"
|
||||
```
|
||||
|
||||
## API Endpoints Summary
|
||||
|
||||
| Method | Endpoint | Auth | Description |
|
||||
|--------|----------|------|-------------|
|
||||
| POST | /tokens | No | Login (returns challenge if 2FA) |
|
||||
| POST | /tokens/2fa | Challenge | Complete 2FA login |
|
||||
| GET | /users/:id/2fa | JWT | Get 2FA status |
|
||||
| POST | /users/:id/2fa/setup | JWT | Start setup, get QR code |
|
||||
| PUT | /users/:id/2fa/enable | JWT | Verify and enable |
|
||||
| DELETE | /users/:id/2fa | JWT | Disable (requires code) |
|
||||
| GET | /users/:id/2fa/backup-codes | JWT | Get backup codes count |
|
||||
| POST | /users/:id/2fa/backup-codes | JWT | Regenerate codes |
|
||||
|
||||
## Security Considerations
|
||||
|
||||
1. Challenge tokens expire in 5 minutes
|
||||
2. TOTP secrets encrypted at rest
|
||||
3. Backup codes hashed with bcrypt
|
||||
4. Rate limit on 2FA attempts (5 attempts, 15 min lockout)
|
||||
5. Backup codes single-use only
|
||||
6. 2FA disable requires valid TOTP code
|
||||
|
||||
## Implementation Order
|
||||
|
||||
1. Backend: Add `otplib` dependency
|
||||
2. Backend: Create `internal/2fa.js` module
|
||||
3. Backend: Update `internal/token.js` for challenge flow
|
||||
4. Backend: Add `POST /tokens/2fa` route
|
||||
5. Backend: Create `routes/2fa.js` for management
|
||||
6. Frontend: Add `qrcode.react` dependency
|
||||
7. Frontend: Update API types and functions
|
||||
8. Frontend: Update AuthContext for 2FA state
|
||||
9. Frontend: Create Login2FA page
|
||||
10. Frontend: Update Login to handle 2FA
|
||||
11. Frontend: Add 2FA settings UI
|
||||
|
||||
## Testing
|
||||
|
||||
1. Enable 2FA for user
|
||||
2. Login with password only - should get challenge
|
||||
3. Submit correct TOTP - should get token
|
||||
4. Submit wrong TOTP - should fail
|
||||
5. Use backup code - should work once
|
||||
6. Disable 2FA - should require valid code
|
||||
7. Login after disable - should work without 2FA
|
||||
@@ -14,7 +14,7 @@ on the `data` and `letsencrypt` folders at startup.
|
||||
```yml
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
environment:
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
@@ -101,7 +101,7 @@ secrets:
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# Public HTTP Port:
|
||||
@@ -130,18 +130,16 @@ services:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: jc21/mariadb-aria
|
||||
image: 'linuxserver/mariadb'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# MYSQL_ROOT_PASSWORD: "npm" # use secret instead
|
||||
MYSQL_ROOT_PASSWORD__FILE: /run/secrets/DB_ROOT_PWD
|
||||
MYSQL_DATABASE: "npm"
|
||||
MYSQL_USER: "npm"
|
||||
# MYSQL_PASSWORD: "npm" # use secret instead
|
||||
MYSQL_DATABASE: 'npm'
|
||||
MYSQL_USER: 'npm'
|
||||
MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD
|
||||
MARIADB_AUTO_UPGRADE: '1'
|
||||
TZ: 'Australia/Brisbane'
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mariadb:/config
|
||||
secrets:
|
||||
- DB_ROOT_PWD
|
||||
- MYSQL_PWD
|
||||
|
||||
@@ -64,7 +64,7 @@ I won't go in to too much detail here but here are the basics for someone new to
|
||||
```yml
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: "Australia/Brisbane"
|
||||
|
||||
@@ -11,7 +11,7 @@ Create a `docker-compose.yml` file:
|
||||
```yml
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
@@ -45,10 +45,7 @@ docker compose up -d
|
||||
|
||||
## Using MySQL / MariaDB Database
|
||||
|
||||
If you opt for the MySQL configuration you will have to provide the database server yourself. You can also use MariaDB. Here are the minimum supported versions:
|
||||
|
||||
- MySQL v5.7.8+
|
||||
- MariaDB v10.2.7+
|
||||
If you opt for the MySQL configuration you will have to provide the database server yourself.
|
||||
|
||||
It's easy to use another docker container for your database also and link it as part of the docker stack, so that's what the following examples
|
||||
are going to use.
|
||||
@@ -58,7 +55,7 @@ Here is an example of what your `docker-compose.yml` will look like when using a
|
||||
```yml
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# These ports are in format <host-port>:<container-port>
|
||||
@@ -88,31 +85,29 @@ services:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: 'jc21/mariadb-aria:latest'
|
||||
image: 'linuxserver/mariadb'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: 'npm'
|
||||
MYSQL_DATABASE: 'npm'
|
||||
MYSQL_USER: 'npm'
|
||||
MYSQL_PASSWORD: 'npm'
|
||||
MARIADB_AUTO_UPGRADE: '1'
|
||||
TZ: 'Australia/Brisbane'
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mariadb:/config
|
||||
```
|
||||
|
||||
::: warning
|
||||
|
||||
Please note, that `DB_MYSQL_*` environment variables will take precedent over `DB_SQLITE_*` variables. So if you keep the MySQL variables, you will not be able to use SQLite.
|
||||
|
||||
:::
|
||||
|
||||
### Optional: MySQL / MariaDB SSL
|
||||
|
||||
You can enable TLS for the MySQL/MariaDB connection with these environment variables:
|
||||
|
||||
- DB_MYSQL_SSL: Enable SSL when set to true. If unset or false, SSL disabled (previous default behaviour).
|
||||
- DB_MYSQL_SSL_REJECT_UNAUTHORIZED: (default: true) Validate the server certificate chain. Set to false to allow self‑signed/unknown CA.
|
||||
- DB_MYSQL_SSL_VERIFY_IDENTITY: (default: true) Performs host name / identity verification.
|
||||
- `DB_MYSQL_SSL`: Enable SSL when set to true. If unset or false, SSL disabled (previous default behaviour).
|
||||
- `DB_MYSQL_SSL_REJECT_UNAUTHORIZED`: (default: true) Validate the server certificate chain. Set to false to allow self‑signed/unknown CA.
|
||||
- `DB_MYSQL_SSL_VERIFY_IDENTITY`: (default: true) Performs host name / identity verification.
|
||||
|
||||
Enabling SSL using a self-signed cert (not recommended for production).
|
||||
|
||||
@@ -123,7 +118,7 @@ Similar to the MySQL server setup:
|
||||
```yml
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
image: 'jc21/nginx-proxy-manager:{{VERSION}}'
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# These ports are in format <host-port>:<container-port>
|
||||
@@ -169,7 +164,11 @@ Custom Postgres schema is not supported, as such `public` will be used.
|
||||
The docker images support the following architectures:
|
||||
- amd64
|
||||
- arm64
|
||||
- armv7
|
||||
|
||||
::: warning
|
||||
`armv7` is no longer supported in version 2.14+. This is due to Nodejs dropping support for armhf. Please
|
||||
use the `2.13.7` image tag if this applies to you.
|
||||
:::
|
||||
|
||||
The docker images are a manifest of all the architecture docker builds supported, so this means
|
||||
you don't have to worry about doing anything special and you can follow the common instructions above.
|
||||
@@ -181,8 +180,6 @@ for a list of supported architectures and if you want one that doesn't exist,
|
||||
Also, if you don't know how to already, follow [this guide to install docker and docker-compose](https://manre-universe.net/how-to-run-docker-and-docker-compose-on-raspbian/)
|
||||
on Raspbian.
|
||||
|
||||
Please note that the `jc21/mariadb-aria:latest` image might have some problems on some ARM devices, if you want a separate database container, use the `yobasystems/alpine-mariadb:latest` image.
|
||||
|
||||
## Initial Run
|
||||
|
||||
After the app is running for the first time, the following will happen:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.3/schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
|
||||
@@ -7,25 +7,29 @@
|
||||
// - Also checks the error messages returned by the backend
|
||||
|
||||
const allLocales = [
|
||||
["en", "en-US"],
|
||||
["de", "de-DE"],
|
||||
["es", "es-ES"],
|
||||
["it", "it-IT"],
|
||||
["ja", "ja-JP"],
|
||||
["nl", "nl-NL"],
|
||||
["pl", "pl-PL"],
|
||||
["ru", "ru-RU"],
|
||||
["sk", "sk-SK"],
|
||||
["vi", "vi-VN"],
|
||||
["zh", "zh-CN"],
|
||||
["ko", "ko-KR"],
|
||||
["bg", "bg-BG"],
|
||||
["id", "id-ID"],
|
||||
["en", "en-US"],
|
||||
["de", "de-DE"],
|
||||
["pt", "pt-PT"],
|
||||
["es", "es-ES"],
|
||||
["fr", "fr-FR"],
|
||||
["it", "it-IT"],
|
||||
["ja", "ja-JP"],
|
||||
["nl", "nl-NL"],
|
||||
["pl", "pl-PL"],
|
||||
["ru", "ru-RU"],
|
||||
["sk", "sk-SK"],
|
||||
["cs", "cs-CZ"],
|
||||
["vi", "vi-VN"],
|
||||
["zh", "zh-CN"],
|
||||
["ko", "ko-KR"],
|
||||
["bg", "bg-BG"],
|
||||
["id", "id-ID"],
|
||||
["tr", "tr-TR"],
|
||||
["hu", "hu-HU"],
|
||||
["no", "no-NO"],
|
||||
];
|
||||
|
||||
const ignoreUnused = [
|
||||
/^.*$/,
|
||||
];
|
||||
const ignoreUnused = [/^.*$/];
|
||||
|
||||
const { spawnSync } = require("child_process");
|
||||
const fs = require("fs");
|
||||
@@ -66,105 +70,95 @@ const allWarnings = [];
|
||||
const allKeys = [];
|
||||
|
||||
const checkLangList = (fullCode) => {
|
||||
const key = "locale-" + fullCode;
|
||||
if (typeof langList[key] === "undefined") {
|
||||
allErrors.push(
|
||||
"ERROR: `" + key + "` language does not exist in lang-list.json",
|
||||
);
|
||||
}
|
||||
const key = "locale-" + fullCode;
|
||||
if (typeof langList[key] === "undefined") {
|
||||
allErrors.push("ERROR: `" + key + "` language does not exist in lang-list.json");
|
||||
}
|
||||
};
|
||||
|
||||
const compareLocale = (locale) => {
|
||||
const projectLocaleKeys = Object.keys(allLocalesInProject);
|
||||
// Check that locale contains the items used in the codebase
|
||||
projectLocaleKeys.map((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allErrors.push(
|
||||
"ERROR: `" + locale[0] + "` does not contain item: `" + key + "`",
|
||||
);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
// Check that locale contains all error.* items
|
||||
BACKEND_ERRORS.forEach((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allErrors.push(
|
||||
"ERROR: `" + locale[0] + "` does not contain item: `" + key + "`",
|
||||
);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
const projectLocaleKeys = Object.keys(allLocalesInProject);
|
||||
// Check that locale contains the items used in the codebase
|
||||
projectLocaleKeys.map((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allErrors.push("ERROR: `" + locale[0] + "` does not contain item: `" + key + "`");
|
||||
}
|
||||
return null;
|
||||
});
|
||||
// Check that locale contains all error.* items
|
||||
BACKEND_ERRORS.forEach((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allErrors.push("ERROR: `" + locale[0] + "` does not contain item: `" + key + "`");
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
// Check that locale does not contain items not used in the codebase
|
||||
const localeKeys = Object.keys(locale.data);
|
||||
localeKeys.map((key) => {
|
||||
let ignored = false;
|
||||
ignoreUnused.map((regex) => {
|
||||
if (key.match(regex)) {
|
||||
ignored = true;
|
||||
}
|
||||
return null;
|
||||
});
|
||||
// Check that locale does not contain items not used in the codebase
|
||||
const localeKeys = Object.keys(locale.data);
|
||||
localeKeys.map((key) => {
|
||||
let ignored = false;
|
||||
ignoreUnused.map((regex) => {
|
||||
if (key.match(regex)) {
|
||||
ignored = true;
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
if (!ignored && typeof allLocalesInProject[key] === "undefined") {
|
||||
// ensure this key doesn't exist in the backend errors either
|
||||
if (!BACKEND_ERRORS.includes(key)) {
|
||||
allErrors.push(
|
||||
"ERROR: `" + locale[0] + "` contains unused item: `" + key + "`",
|
||||
);
|
||||
}
|
||||
}
|
||||
if (!ignored && typeof allLocalesInProject[key] === "undefined") {
|
||||
// ensure this key doesn't exist in the backend errors either
|
||||
if (!BACKEND_ERRORS.includes(key)) {
|
||||
allErrors.push("ERROR: `" + locale[0] + "` contains unused item: `" + key + "`");
|
||||
}
|
||||
}
|
||||
|
||||
// Add this key to allKeys
|
||||
if (allKeys.indexOf(key) === -1) {
|
||||
allKeys.push(key);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
// Add this key to allKeys
|
||||
if (allKeys.indexOf(key) === -1) {
|
||||
allKeys.push(key);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
};
|
||||
|
||||
// Checks for any keys missing from this locale, that
|
||||
// have been defined in any other locales
|
||||
const checkForMissing = (locale) => {
|
||||
allKeys.forEach((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allWarnings.push(
|
||||
"WARN: `" + locale[0] + "` does not contain item: `" + key + "`",
|
||||
);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
allKeys.forEach((key) => {
|
||||
if (typeof locale.data[key] === "undefined") {
|
||||
allWarnings.push("WARN: `" + locale[0] + "` does not contain item: `" + key + "`");
|
||||
}
|
||||
return null;
|
||||
});
|
||||
};
|
||||
|
||||
// Local all locale data
|
||||
allLocales.map((locale, idx) => {
|
||||
checkLangList(locale[1]);
|
||||
allLocales[idx].data = require("./src/locale/src/" + locale[0] + ".json");
|
||||
return null;
|
||||
checkLangList(locale[1]);
|
||||
allLocales[idx].data = require("./src/locale/src/" + locale[0] + ".json");
|
||||
return null;
|
||||
});
|
||||
|
||||
// Verify all locale data
|
||||
allLocales.map((locale) => {
|
||||
compareLocale(locale);
|
||||
checkForMissing(locale);
|
||||
return null;
|
||||
compareLocale(locale);
|
||||
checkForMissing(locale);
|
||||
return null;
|
||||
});
|
||||
|
||||
if (allErrors.length) {
|
||||
allErrors.map((err) => {
|
||||
console.log("\x1b[31m%s\x1b[0m", err);
|
||||
return null;
|
||||
});
|
||||
allErrors.map((err) => {
|
||||
console.log("\x1b[31m%s\x1b[0m", err);
|
||||
return null;
|
||||
});
|
||||
}
|
||||
if (allWarnings.length) {
|
||||
allWarnings.map((err) => {
|
||||
console.log("\x1b[33m%s\x1b[0m", err);
|
||||
return null;
|
||||
});
|
||||
allWarnings.map((err) => {
|
||||
console.log("\x1b[33m%s\x1b[0m", err);
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
if (allErrors.length) {
|
||||
process.exit(1);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
console.log("\x1b[32m%s\x1b[0m", "Locale check passed");
|
||||
|
||||
@@ -17,50 +17,50 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tabler/core": "^1.4.0",
|
||||
"@tabler/icons-react": "^3.35.0",
|
||||
"@tanstack/react-query": "^5.90.6",
|
||||
"@tabler/icons-react": "^3.37.1",
|
||||
"@tanstack/react-query": "^5.90.21",
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@uiw/react-textarea-code-editor": "^3.1.1",
|
||||
"classnames": "^2.5.1",
|
||||
"country-flag-icons": "^1.5.21",
|
||||
"country-flag-icons": "^1.6.13",
|
||||
"date-fns": "^4.1.0",
|
||||
"ez-modal-react": "^1.0.5",
|
||||
"formik": "^2.4.6",
|
||||
"formik": "^2.4.9",
|
||||
"generate-password-browser": "^1.1.0",
|
||||
"humps": "^2.0.1",
|
||||
"query-string": "^9.3.1",
|
||||
"react": "^19.2.3",
|
||||
"react": "^19.2.4",
|
||||
"react-bootstrap": "^2.10.10",
|
||||
"react-dom": "^19.2.3",
|
||||
"react-intl": "^7.1.14",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-intl": "^8.1.3",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-router-dom": "^7.9.5",
|
||||
"react-router-dom": "^7.13.0",
|
||||
"react-select": "^5.10.2",
|
||||
"react-toastify": "^11.0.5",
|
||||
"rooks": "^9.3.0"
|
||||
"rooks": "^9.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.3.2",
|
||||
"@formatjs/cli": "^6.7.4",
|
||||
"@tanstack/react-query-devtools": "^5.90.2",
|
||||
"@biomejs/biome": "^2.4.3",
|
||||
"@formatjs/cli": "^6.13.0",
|
||||
"@tanstack/react-query-devtools": "^5.91.3",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@types/country-flag-icons": "^1.2.2",
|
||||
"@types/humps": "^2.0.6",
|
||||
"@types/react": "^19.2.7",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/react-table": "^7.7.20",
|
||||
"@vitejs/plugin-react": "^5.1.2",
|
||||
"happy-dom": "^20.0.10",
|
||||
"@vitejs/plugin-react": "^5.1.4",
|
||||
"happy-dom": "^20.6.3",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"sass": "^1.93.3",
|
||||
"sass": "^1.97.3",
|
||||
"tmp": "^0.2.5",
|
||||
"typescript": "5.9.3",
|
||||
"vite": "^7.1.12",
|
||||
"vite-plugin-checker": "^0.11.0",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"vitest": "^4.0.6"
|
||||
"vite": "^7.3.1",
|
||||
"vite-plugin-checker": "^0.12.0",
|
||||
"vite-tsconfig-paths": "^6.1.1",
|
||||
"vitest": "^4.0.18"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,7 +156,6 @@ export async function del({ url, params }: DeleteArgs, abortController?: AbortCo
|
||||
const method = "DELETE";
|
||||
const headers = {
|
||||
...buildAuthHeader(),
|
||||
[contentTypeHeader]: "application/json",
|
||||
};
|
||||
const signal = abortController?.signal;
|
||||
const response = await fetch(apiUrl, { method, headers, signal });
|
||||
|
||||
@@ -127,6 +127,7 @@ export interface ProxyHost {
|
||||
locations?: ProxyLocation[];
|
||||
hstsEnabled: boolean;
|
||||
hstsSubdomains: boolean;
|
||||
trustForwardedProto: boolean;
|
||||
// Expansions:
|
||||
owner?: User;
|
||||
accessList?: AccessList;
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
import { camelizeKeys, decamelizeKeys } from "humps";
|
||||
import AuthStore from "src/modules/AuthStore";
|
||||
import type {
|
||||
TwoFactorEnableResponse,
|
||||
TwoFactorSetupResponse,
|
||||
TwoFactorStatusResponse,
|
||||
} from "./responseTypes";
|
||||
import * as api from "./base";
|
||||
import type { TwoFactorEnableResponse, TwoFactorSetupResponse, TwoFactorStatusResponse } from "./responseTypes";
|
||||
|
||||
export async function get2FAStatus(userId: number | "me"): Promise<TwoFactorStatusResponse> {
|
||||
return await api.get({
|
||||
@@ -15,42 +9,27 @@ export async function get2FAStatus(userId: number | "me"): Promise<TwoFactorStat
|
||||
|
||||
export async function start2FASetup(userId: number | "me"): Promise<TwoFactorSetupResponse> {
|
||||
return await api.post({
|
||||
url: `/users/${userId}/2fa/setup`,
|
||||
url: `/users/${userId}/2fa`,
|
||||
});
|
||||
}
|
||||
|
||||
export async function enable2FA(userId: number | "me", code: string): Promise<TwoFactorEnableResponse> {
|
||||
return await api.put({
|
||||
return await api.post({
|
||||
url: `/users/${userId}/2fa/enable`,
|
||||
data: { code },
|
||||
});
|
||||
}
|
||||
|
||||
export async function disable2FA(userId: number | "me", code: string): Promise<{ success: boolean }> {
|
||||
const headers: Record<string, string> = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
if (AuthStore.token) {
|
||||
headers.Authorization = `Bearer ${AuthStore.token.token}`;
|
||||
}
|
||||
|
||||
const response = await fetch(`/api/users/${userId}/2fa`, {
|
||||
method: "DELETE",
|
||||
headers,
|
||||
body: JSON.stringify(decamelizeKeys({ code })),
|
||||
export async function disable2FA(userId: number | "me", code: string): Promise<boolean> {
|
||||
return await api.del({
|
||||
url: `/users/${userId}/2fa`,
|
||||
params: {
|
||||
code,
|
||||
},
|
||||
});
|
||||
|
||||
const payload = await response.json();
|
||||
if (!response.ok) {
|
||||
throw new Error(payload.error?.messageI18n || payload.error?.message || "Failed to disable 2FA");
|
||||
}
|
||||
return camelizeKeys(payload) as { success: boolean };
|
||||
}
|
||||
|
||||
export async function regenerateBackupCodes(
|
||||
userId: number | "me",
|
||||
code: string,
|
||||
): Promise<TwoFactorEnableResponse> {
|
||||
export async function regenerateBackupCodes(userId: number | "me", code: string): Promise<TwoFactorEnableResponse> {
|
||||
return await api.post({
|
||||
url: `/users/${userId}/2fa/backup-codes`,
|
||||
data: { code },
|
||||
|
||||
@@ -5,17 +5,18 @@ import { T } from "src/locale";
|
||||
|
||||
interface Props {
|
||||
forHttp?: boolean; // the sslForced, http2Support, hstsEnabled, hstsSubdomains fields
|
||||
forProxyHost?: boolean; // the advanced fields
|
||||
forceDNSForNew?: boolean;
|
||||
requireDomainNames?: boolean; // used for streams
|
||||
color?: string;
|
||||
}
|
||||
export function SSLOptionsFields({ forHttp = true, forceDNSForNew, requireDomainNames, color = "bg-cyan" }: Props) {
|
||||
export function SSLOptionsFields({ forHttp = true, forProxyHost = false, forceDNSForNew, requireDomainNames, color = "bg-cyan" }: Props) {
|
||||
const { values, setFieldValue } = useFormikContext();
|
||||
const v: any = values || {};
|
||||
|
||||
const newCertificate = v?.certificateId === "new";
|
||||
const hasCertificate = newCertificate || (v?.certificateId && v?.certificateId > 0);
|
||||
const { sslForced, http2Support, hstsEnabled, hstsSubdomains, meta } = v;
|
||||
const { sslForced, http2Support, hstsEnabled, hstsSubdomains, trustForwardedProto, meta } = v;
|
||||
const { dnsChallenge } = meta || {};
|
||||
|
||||
if (forceDNSForNew && newCertificate && !dnsChallenge) {
|
||||
@@ -115,6 +116,34 @@ export function SSLOptionsFields({ forHttp = true, forceDNSForNew, requireDomain
|
||||
</div>
|
||||
);
|
||||
|
||||
const getHttpAdvancedOptions = () =>(
|
||||
<div>
|
||||
<details>
|
||||
<summary className="mb-1"><T id="domains.advanced" /></summary>
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<Field name="trustForwardedProto">
|
||||
{({ field }: any) => (
|
||||
<label className="form-check form-switch mt-1">
|
||||
<input
|
||||
className={trustForwardedProto ? toggleEnabled : toggleClasses}
|
||||
type="checkbox"
|
||||
checked={!!trustForwardedProto}
|
||||
onChange={(e) => handleToggleChange(e, field.name)}
|
||||
disabled={!hasCertificate || !sslForced}
|
||||
/>
|
||||
<span className="form-check-label">
|
||||
<T id="domains.trust-forwarded-proto" />
|
||||
</span>
|
||||
</label>
|
||||
)}
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<div>
|
||||
{forHttp ? getHttpOptions() : null}
|
||||
@@ -140,6 +169,7 @@ export function SSLOptionsFields({ forHttp = true, forceDNSForNew, requireDomain
|
||||
{dnsChallenge ? <DNSProviderFields showBoundaryBox /> : null}
|
||||
</>
|
||||
) : null}
|
||||
{forProxyHost && forHttp ? getHttpAdvancedOptions() : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ const fetchProxyHost = (id: number | "new") => {
|
||||
enabled: true,
|
||||
hstsEnabled: false,
|
||||
hstsSubdomains: false,
|
||||
trustForwardedProto: false,
|
||||
} as ProxyHost);
|
||||
}
|
||||
return getProxyHost(id, ["owner"]);
|
||||
|
||||
@@ -1,83 +1,96 @@
|
||||
import { createIntl, createIntlCache } from "react-intl";
|
||||
import langBg from "./lang/bg.json";
|
||||
import langDe from "./lang/de.json";
|
||||
import langPt from "./lang/pt.json";
|
||||
import langEn from "./lang/en.json";
|
||||
import langEs from "./lang/es.json";
|
||||
import langFr from "./lang/fr.json";
|
||||
import langGa from "./lang/ga.json";
|
||||
import langId from "./lang/id.json";
|
||||
import langIt from "./lang/it.json";
|
||||
import langJa from "./lang/ja.json";
|
||||
import langList from "./lang/lang-list.json";
|
||||
import langKo from "./lang/ko.json";
|
||||
import langNl from "./lang/nl.json";
|
||||
import langPl from "./lang/pl.json";
|
||||
import langRu from "./lang/ru.json";
|
||||
import langSk from "./lang/sk.json";
|
||||
import langCs from "./lang/cs.json";
|
||||
import langVi from "./lang/vi.json";
|
||||
import langZh from "./lang/zh.json";
|
||||
import langKo from "./lang/ko.json";
|
||||
import langBg from "./lang/bg.json";
|
||||
import langId from "./lang/id.json";
|
||||
import langTr from "./lang/tr.json";
|
||||
import langHu from "./lang/hu.json";
|
||||
import langNo from "./lang/no.json";
|
||||
import langList from "./lang/lang-list.json";
|
||||
|
||||
// first item of each array should be the language code,
|
||||
// not the country code
|
||||
// Remember when adding to this list, also update check-locales.js script
|
||||
const localeOptions = [
|
||||
["en", "en-US", langEn],
|
||||
["de", "de-DE", langDe],
|
||||
["es", "es-ES", langEs],
|
||||
["ga", "ga-IE", langGa],
|
||||
["ja", "ja-JP", langJa],
|
||||
["it", "it-IT", langIt],
|
||||
["nl", "nl-NL", langNl],
|
||||
["pl", "pl-PL", langPl],
|
||||
["ru", "ru-RU", langRu],
|
||||
["sk", "sk-SK", langSk],
|
||||
["vi", "vi-VN", langVi],
|
||||
["zh", "zh-CN", langZh],
|
||||
["ko", "ko-KR", langKo],
|
||||
["bg", "bg-BG", langBg],
|
||||
["id", "id-ID", langId],
|
||||
["en", "en-US", langEn],
|
||||
["de", "de-DE", langDe],
|
||||
["es", "es-ES", langEs],
|
||||
["pt", "pt-PT", langPt],
|
||||
["fr", "fr-FR", langFr],
|
||||
["ga", "ga-IE", langGa],
|
||||
["ja", "ja-JP", langJa],
|
||||
["it", "it-IT", langIt],
|
||||
["nl", "nl-NL", langNl],
|
||||
["pl", "pl-PL", langPl],
|
||||
["ru", "ru-RU", langRu],
|
||||
["sk", "sk-SK", langSk],
|
||||
["cs", "cs-CZ", langCs],
|
||||
["vi", "vi-VN", langVi],
|
||||
["zh", "zh-CN", langZh],
|
||||
["ko", "ko-KR", langKo],
|
||||
["bg", "bg-BG", langBg],
|
||||
["id", "id-ID", langId],
|
||||
["tr", "tr-TR", langTr],
|
||||
["hu", "hu-HU", langHu],
|
||||
["no", "no-NO", langNo],
|
||||
];
|
||||
|
||||
const loadMessages = (locale?: string): typeof langList & typeof langEn => {
|
||||
const thisLocale = (locale || "en").slice(0, 2);
|
||||
const thisLocale = (locale || "en").slice(0, 2);
|
||||
|
||||
// ensure this lang exists in localeOptions above, otherwise fallback to en
|
||||
if (thisLocale === "en" || !localeOptions.some(([code]) => code === thisLocale)) {
|
||||
return Object.assign({}, langList, langEn);
|
||||
}
|
||||
// ensure this lang exists in localeOptions above, otherwise fallback to en
|
||||
if (thisLocale === "en" || !localeOptions.some(([code]) => code === thisLocale)) {
|
||||
return Object.assign({}, langList, langEn);
|
||||
}
|
||||
|
||||
return Object.assign({}, langList, langEn, localeOptions.find(([code]) => code === thisLocale)?.[2]);
|
||||
return Object.assign({}, langList, langEn, localeOptions.find(([code]) => code === thisLocale)?.[2]);
|
||||
};
|
||||
|
||||
const getFlagCodeForLocale = (locale?: string) => {
|
||||
const thisLocale = (locale || "en").slice(0, 2);
|
||||
const thisLocale = (locale || "en").slice(0, 2);
|
||||
|
||||
// only add to this if your flag is different from the locale code
|
||||
const specialCases: Record<string, string> = {
|
||||
ja: "jp", // Japan
|
||||
zh: "cn", // China
|
||||
vi: "vn", // Vietnam
|
||||
ko: "kr", // Korea
|
||||
};
|
||||
// only add to this if your flag is different from the locale code
|
||||
const specialCases: Record<string, string> = {
|
||||
ja: "jp", // Japan
|
||||
zh: "cn", // China
|
||||
vi: "vn", // Vietnam
|
||||
ko: "kr", // Korea
|
||||
cs: "cz", // Czechia
|
||||
};
|
||||
|
||||
if (specialCases[thisLocale]) {
|
||||
return specialCases[thisLocale].toUpperCase();
|
||||
}
|
||||
return thisLocale.toUpperCase();
|
||||
if (specialCases[thisLocale]) {
|
||||
return specialCases[thisLocale].toUpperCase();
|
||||
}
|
||||
return thisLocale.toUpperCase();
|
||||
};
|
||||
|
||||
const getLocale = (short = false) => {
|
||||
let loc = window.localStorage.getItem("locale");
|
||||
if (!loc) {
|
||||
loc = document.documentElement.lang;
|
||||
}
|
||||
if (short) {
|
||||
return loc.slice(0, 2);
|
||||
}
|
||||
// finally, fallback
|
||||
if (!loc) {
|
||||
loc = "en";
|
||||
}
|
||||
return loc;
|
||||
let loc = window.localStorage.getItem("locale");
|
||||
if (!loc) {
|
||||
loc = document.documentElement.lang;
|
||||
}
|
||||
if (short) {
|
||||
return loc.slice(0, 2);
|
||||
}
|
||||
// finally, fallback
|
||||
if (!loc) {
|
||||
loc = "en";
|
||||
}
|
||||
return loc;
|
||||
};
|
||||
|
||||
const cache = createIntlCache();
|
||||
@@ -86,43 +99,43 @@ const initialMessages = loadMessages(getLocale());
|
||||
let intl = createIntl({ locale: getLocale(), messages: initialMessages }, cache);
|
||||
|
||||
const changeLocale = (locale: string): void => {
|
||||
const messages = loadMessages(locale);
|
||||
intl = createIntl({ locale, messages }, cache);
|
||||
window.localStorage.setItem("locale", locale);
|
||||
document.documentElement.lang = locale;
|
||||
const messages = loadMessages(locale);
|
||||
intl = createIntl({ locale, messages }, cache);
|
||||
window.localStorage.setItem("locale", locale);
|
||||
document.documentElement.lang = locale;
|
||||
};
|
||||
|
||||
// This is a translation component that wraps the translation in a span with a data
|
||||
// attribute so devs can inspect the element to see the translation ID
|
||||
const T = ({
|
||||
id,
|
||||
data,
|
||||
tData,
|
||||
id,
|
||||
data,
|
||||
tData,
|
||||
}: {
|
||||
id: string;
|
||||
data?: Record<string, string | number | undefined>;
|
||||
tData?: Record<string, string>;
|
||||
id: string;
|
||||
data?: Record<string, string | number | undefined>;
|
||||
tData?: Record<string, string>;
|
||||
}) => {
|
||||
const translatedData: Record<string, string> = {};
|
||||
if (tData) {
|
||||
// iterate over tData and translate each value
|
||||
Object.entries(tData).forEach(([key, value]) => {
|
||||
translatedData[key] = intl.formatMessage({ id: value });
|
||||
});
|
||||
}
|
||||
return (
|
||||
<span data-translation-id={id}>
|
||||
{intl.formatMessage(
|
||||
{ id },
|
||||
{
|
||||
...data,
|
||||
...translatedData,
|
||||
},
|
||||
)}
|
||||
</span>
|
||||
);
|
||||
const translatedData: Record<string, string> = {};
|
||||
if (tData) {
|
||||
// iterate over tData and translate each value
|
||||
Object.entries(tData).forEach(([key, value]) => {
|
||||
translatedData[key] = intl.formatMessage({ id: value });
|
||||
});
|
||||
}
|
||||
return (
|
||||
<span data-translation-id={id}>
|
||||
{intl.formatMessage(
|
||||
{ id },
|
||||
{
|
||||
...data,
|
||||
...translatedData,
|
||||
},
|
||||
)}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
console.log("L:", localeOptions);
|
||||
//console.log("L:", localeOptions);
|
||||
|
||||
export { localeOptions, getFlagCodeForLocale, getLocale, createIntl, changeLocale, intl, T };
|
||||
|
||||
69
frontend/src/locale/scripts/locale-sort.cjs
Normal file
69
frontend/src/locale/scripts/locale-sort.cjs
Normal file
@@ -0,0 +1,69 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const DIR = path.resolve(__dirname, "../src");
|
||||
|
||||
// Function to sort object keys recursively
|
||||
function sortKeys(obj) {
|
||||
if (obj === null || typeof obj !== "object" || obj instanceof Array) {
|
||||
return obj;
|
||||
}
|
||||
|
||||
const sorted = {};
|
||||
const keys = Object.keys(obj).sort();
|
||||
for (const key of keys) {
|
||||
const value = obj[key];
|
||||
if (typeof value === "object" && value !== null && !(value instanceof Array)) {
|
||||
sorted[key] = sortKeys(value);
|
||||
} else {
|
||||
sorted[key] = value;
|
||||
}
|
||||
}
|
||||
return sorted;
|
||||
}
|
||||
|
||||
// Get all JSON files in the directory
|
||||
const files = fs.readdirSync(DIR).filter((file) => {
|
||||
return file.endsWith(".json") && file !== "lang-list.json";
|
||||
});
|
||||
|
||||
files.forEach((file) => {
|
||||
const filePath = path.join(DIR, file);
|
||||
const stats = fs.statSync(filePath);
|
||||
|
||||
if (!stats.isFile()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (stats.size === 0) {
|
||||
console.log(`Skipping empty file ${file}`);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// Read original content
|
||||
const originalContent = fs.readFileSync(filePath, "utf8");
|
||||
const originalJson = JSON.parse(originalContent);
|
||||
|
||||
// Sort keys
|
||||
const sortedJson = sortKeys(originalJson);
|
||||
|
||||
// Convert back to string with tabs
|
||||
const sortedContent = JSON.stringify(sortedJson, null, "\t") + "\n";
|
||||
|
||||
// Compare (normalize whitespace)
|
||||
if (originalContent.trim() === sortedContent.trim()) {
|
||||
console.log(`${file} is already sorted`);
|
||||
return;
|
||||
}
|
||||
|
||||
// Write sorted content
|
||||
fs.writeFileSync(filePath, sortedContent, "utf8");
|
||||
console.log(`Sorted ${file}`);
|
||||
} catch (error) {
|
||||
console.error(`Error processing ${file}:`, error.message);
|
||||
}
|
||||
});
|
||||
|
||||
7
frontend/src/locale/src/HelpDoc/cs/AccessLists.md
Normal file
7
frontend/src/locale/src/HelpDoc/cs/AccessLists.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Co je seznam přístupů?
|
||||
|
||||
Seznamy přístupů poskytují blacklist nebo whitelist konkrétních IP adres klientů spolu s ověřením pro proxy hostitele prostřednictvím základního ověřování HTTP.
|
||||
|
||||
Můžete nakonfigurovat více pravidel pro klienty, uživatelská jména a hesla pro jeden seznam přístupu a poté ho použít na jednoho nebo více proxy hostitelů.
|
||||
|
||||
Toto je nejužitečnější pro přesměrované webové služby, které nemají vestavěné ověřovací mechanismy, nebo pokud se chcete chránit před neznámými klienty.
|
||||
32
frontend/src/locale/src/HelpDoc/cs/Certificates.md
Normal file
32
frontend/src/locale/src/HelpDoc/cs/Certificates.md
Normal file
@@ -0,0 +1,32 @@
|
||||
## Pomoc s certifikáty
|
||||
|
||||
### Certifikát HTTP
|
||||
|
||||
Certifikát ověřený prostřednictvím protokolu HTTP znamená, že servery Let's Encrypt se
|
||||
pokusí připojit k vašim doménám přes protokol HTTP (nikoli HTTPS!) a v případě úspěchu
|
||||
vydají váš certifikát.
|
||||
|
||||
Pro tuto metodu budete muset mít pro své domény vytvořeného _Proxy Host_, který
|
||||
je přístupný přes HTTP a směruje na tuto instalaci Nginx. Po vydání certifikátu
|
||||
můžete změnit _Proxy Host_ tak, aby tento certifikát používal i pro HTTPS
|
||||
připojení. _Proxy Host_ však bude stále potřeba nakonfigurovat pro přístup přes HTTP,
|
||||
aby se certifikát mohl obnovit.
|
||||
|
||||
Tento proces _nepodporuje_ domény se zástupnými znaky.
|
||||
|
||||
### Certifikát DNS
|
||||
|
||||
Certifikát ověřený DNS vyžaduje použití pluginu DNS Provider. Tento DNS
|
||||
Provider se použije na vytvoření dočasných záznamů ve vaší doméně a poté Let's
|
||||
Encrypt ověří tyto záznamy, aby se ujistil, že jste vlastníkem, a pokud bude úspěšný,
|
||||
vydá váš certifikát.
|
||||
|
||||
Před požádáním o tento typ certifikátu není potřeba vytvořit _Proxy Host_.
|
||||
Není také potřeba mít _Proxy Host_ nakonfigurovaný pro přístup HTTP.
|
||||
|
||||
Tento proces _podporuje_ domény se zástupnými znaky.
|
||||
|
||||
### Vlastní certifikát
|
||||
|
||||
Tuto možnost použijte na nahrání vlastního SSL certifikátu, který vám poskytla vaše
|
||||
certifikační autorita.
|
||||
10
frontend/src/locale/src/HelpDoc/cs/DeadHosts.md
Normal file
10
frontend/src/locale/src/HelpDoc/cs/DeadHosts.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## Co je to 404 Host?
|
||||
|
||||
404 Host je jednoduše nastavení hostitele, které zobrazuje stránku 404.
|
||||
|
||||
To může být užitečné, pokud je vaše doména uvedena ve vyhledávačích a chcete
|
||||
poskytnout hezčí chybovou stránku nebo konkrétně oznámit vyhledávačům, že
|
||||
stránky domény již neexistují.
|
||||
|
||||
Další výhodou tohoto hostitele je sledování protokolů o návštěvách a
|
||||
zobrazení odkazů.
|
||||
7
frontend/src/locale/src/HelpDoc/cs/ProxyHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/cs/ProxyHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Co je proxy hostitel?
|
||||
|
||||
Proxy hostitel je příchozí koncový bod pro webovou službu, kterou chcete přesměrovat.
|
||||
|
||||
Poskytuje volitelné ukončení SSL pro vaši službu, která nemusí mít zabudovanou podporu SSL.
|
||||
|
||||
Proxy hostitelé jsou nejběžnějším použitím pro Nginx Proxy Manager.
|
||||
7
frontend/src/locale/src/HelpDoc/cs/RedirectionHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/cs/RedirectionHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Co je přesměrovací hostitel?
|
||||
|
||||
Přesměrovací hostitel přesměruje požadavky z příchozí domény a přesměruje
|
||||
návštěvníka na jinou doménu.
|
||||
|
||||
Nejčastějším důvodem pro použití tohoto typu hostitele je situace, kdy vaše webová stránka změní
|
||||
doménu, ale stále máte odkazy ve vyhledávačích nebo referenční odkazy směřující na starou doménu.
|
||||
6
frontend/src/locale/src/HelpDoc/cs/Streams.md
Normal file
6
frontend/src/locale/src/HelpDoc/cs/Streams.md
Normal file
@@ -0,0 +1,6 @@
|
||||
## Co je stream?
|
||||
|
||||
Stream je relativně nová funkce pro Nginx, která slouží na přesměrování TCP/UDP
|
||||
datového toku přímo do jiného počítače v síti.
|
||||
|
||||
Pokud provozujete herní servery, FTP nebo SSH servery, tato funkce se vám může hodit.
|
||||
6
frontend/src/locale/src/HelpDoc/cs/index.ts
Normal file
6
frontend/src/locale/src/HelpDoc/cs/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
7
frontend/src/locale/src/HelpDoc/fr/AccessLists.md
Normal file
7
frontend/src/locale/src/HelpDoc/fr/AccessLists.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Qu'est-ce qu'une liste d'accès ?
|
||||
|
||||
Les listes d'accès permettent de définir une liste noire ou une liste blanche d'adresses IP clientes spécifiques, ainsi que l'authentification des Hôtes Proxy via l'authentification HTTP de base.
|
||||
|
||||
Vous pouvez configurer plusieurs règles client, noms d'utilisateur et mots de passe pour une même liste d'accès, puis l'appliquer à un ou plusieurs Hôtes Proxy.
|
||||
|
||||
Ceci est particulièrement utile pour les services web redirigés qui ne disposent pas de mécanismes d'authentification intégrés ou lorsque vous souhaitez vous protéger contre les clients inconnus.
|
||||
23
frontend/src/locale/src/HelpDoc/fr/Certificates.md
Normal file
23
frontend/src/locale/src/HelpDoc/fr/Certificates.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## Aide concernant les certificats
|
||||
|
||||
### Certificat HTTP
|
||||
|
||||
Un certificat HTTP validé signifie que les serveurs de Let's Encrypt testeront d'accéder à vos domaines via HTTP (et non HTTPS !). En cas de succès, ils émettront votre certificat.
|
||||
|
||||
Pour cette méthode, vous devrez créer un Hôte Proxy pour votre ou vos domaines. Cet Hôte Proxy devra être accessible via HTTP et pointer vers cette installation Nginx. Une fois le certificat émis, vous pourrez modifier l'Hôte Proxy pour qu'il utilise également ce certificat pour les connexions HTTPS. Cependant, l'Hôte Proxy devra toujours être configuré pour l'accès HTTP afin que le certificat puisse être renouvelé.
|
||||
|
||||
Ce processus ne prend pas en charge les domaines génériques.
|
||||
|
||||
### Certificat DNS
|
||||
|
||||
Un certificat DNS validé nécessite l'utilisation du plugin Fournisseur DNS. Fournisseur DNS créera des enregistrements temporaires sur votre domaine. Let's Encrypt interrogera ensuite ces enregistrements pour vérifier que vous en êtes bien le propriétaire. En cas de succès, votre certificat sera émis.
|
||||
|
||||
Il n'est pas nécessaire de créer un Hôte Proxy avant de demander ce type de certificat.
|
||||
|
||||
Il n'est pas non plus nécessaire de configurer votre Hôte Proxy pour l'accès HTTP.
|
||||
|
||||
Ce processus prend en charge les domaines génériques.
|
||||
|
||||
## Certificat personnalisé
|
||||
|
||||
Utilisez cette option pour importer votre propre certificat SSL, fourni par votre autorité de certification.
|
||||
7
frontend/src/locale/src/HelpDoc/fr/DeadHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/fr/DeadHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Qu'est-ce qu'un serveur 404 ?
|
||||
|
||||
Un Hôte 404 est simplement un hôte configuré pour afficher une page 404.
|
||||
|
||||
Cela peut s'avérer utile lorsque votre domaine est indexé par les moteurs de recherche et que vous souhaitez fournir une page d'erreur plus conviviale ou, plus précisément, indiquer aux moteurs de recherche que les pages du domaine n'existent plus.
|
||||
|
||||
Un autre avantage de cet hôte est la possibilité de suivre les journaux et de consulter les sites référenceurs.
|
||||
7
frontend/src/locale/src/HelpDoc/fr/ProxyHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/fr/ProxyHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Qu'est-ce qu'un hôte proxy ?
|
||||
|
||||
Un Hôte Proxy est le point de terminaison entrant d'un service web que vous souhaitez rediriger.
|
||||
|
||||
Il assure la terminaison SSL optionnelle pour votre service qui ne prend pas en charge SSL nativement.
|
||||
|
||||
Les Hôtes Proxy constituent l'utilisation la plus courante du Nginx Proxy Manager.
|
||||
5
frontend/src/locale/src/HelpDoc/fr/RedirectionHosts.md
Normal file
5
frontend/src/locale/src/HelpDoc/fr/RedirectionHosts.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## Qu'est-ce qu'un serveur de redirection ?
|
||||
|
||||
Un Hôte de Redirection redirige les requêtes provenant du domaine entrant vers un autre domaine.
|
||||
|
||||
On utilise généralement ce type d'hôte lorsque votre site web change de domaine, mais que des liens provenant des moteurs de recherche ou des sites référenceurs pointent toujours vers l'ancien domaine.
|
||||
5
frontend/src/locale/src/HelpDoc/fr/Streams.md
Normal file
5
frontend/src/locale/src/HelpDoc/fr/Streams.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## Qu'est-ce qu'un Stream ?
|
||||
|
||||
Fonctionnalité relativement récente de Nginx, un Stream permet de rediriger le trafic TCP/UDP directement vers un autre ordinateur du réseau.
|
||||
|
||||
Si vous gérez des serveurs de jeux, FTP ou SSH, cela peut s'avérer très utile.
|
||||
6
frontend/src/locale/src/HelpDoc/fr/index.ts
Normal file
6
frontend/src/locale/src/HelpDoc/fr/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
7
frontend/src/locale/src/HelpDoc/hu/AccessLists.md
Normal file
7
frontend/src/locale/src/HelpDoc/hu/AccessLists.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Mi az a hozzáférési lista?
|
||||
|
||||
A hozzáférési listák feketelistát vagy fehérlistát biztosítanak meghatározott kliens IP-címekhez, valamint alap HTTP-hitelesítést (Basic HTTP Authentication) a proxy kiszolgálókhoz.
|
||||
|
||||
Egyetlen hozzáférési listához több kliensszabályt, felhasználónevet és jelszót is beállíthatsz, majd ezt alkalmazhatod egy vagy több _Proxy Kiszolgáló_-ra.
|
||||
|
||||
Ez különösen hasznos olyan továbbított webszolgáltatásoknál, amelyekben nincs beépített hitelesítési mechanizmus, vagy amikor ismeretlen kliensektől szeretnél védeni.
|
||||
21
frontend/src/locale/src/HelpDoc/hu/Certificates.md
Normal file
21
frontend/src/locale/src/HelpDoc/hu/Certificates.md
Normal file
@@ -0,0 +1,21 @@
|
||||
## Tanúsítványok súgó
|
||||
|
||||
### HTTP tanúsítvány
|
||||
|
||||
A HTTP érvényes tanúsítvány azt jelenti, hogy a Let's Encrypt szerverek megpróbálják elérni a domaineket HTTP-n keresztül (nem HTTPS-en!), és ha sikerül, kiállítják a tanúsítványt.
|
||||
|
||||
Ehhez a módszerhez létre kell hoznod egy _Proxy Kiszolgáló_-t a domain(ek)hez, amely HTTP-n keresztül elérhető és erre az Nginx telepítésre mutat. Miután a tanúsítvány megérkezett, módosíthatod a _Proxy Kiszolgáló_-t, hogy ezt a tanúsítványt használja a HTTPS kapcsolatokhoz is. Azonban a _Proxy Kiszolgáló_-nak továbbra is konfigurálva kell lennie HTTP hozzáféréshez, hogy a tanúsítvány megújulhasson.
|
||||
|
||||
Ez a folyamat _nem_ támogatja a helyettesítő karakteres domaineket.
|
||||
|
||||
### DNS tanúsítvány
|
||||
|
||||
A DNS érvényes tanúsítvány megköveteli, hogy DNS szolgáltató plugint használj. Ez a DNS szolgáltató ideiglenes rekordokat hoz létre a domainen, majd a Let's Encrypt lekérdezi ezeket a rekordokat, hogy megbizonyosodjon a tulajdonjogról, és ha sikeres, kiállítják a tanúsítványt.
|
||||
|
||||
Nem szükséges előzetesen _Proxy Kiszolgáló_-t létrehozni az ilyen típusú tanúsítvány igényléséhez. Nem is kell a _Proxy Kiszolgáló_-t HTTP hozzáférésre konfigurálni.
|
||||
|
||||
Ez a folyamat _támogatja_ a helyettesítő karakteres domaineket.
|
||||
|
||||
### Egyéni tanúsítvány
|
||||
|
||||
Ezt az opciót használd a saját SSL tanúsítvány feltöltéséhez, amelyet a saját tanúsítványkibocsátód biztosított.
|
||||
7
frontend/src/locale/src/HelpDoc/hu/DeadHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/hu/DeadHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Mi az a 404-es Kiszolgáló?
|
||||
|
||||
A 404-es Kiszolgáló egyszerűen egy olyan kiszolgáló beállítás, amely egy 404-es oldalt jelenít meg.
|
||||
|
||||
Ez akkor lehet hasznos, ha a domained szerepel a keresőmotorokban, és egy szebb hibaoldalt szeretnél nyújtani, vagy kifejezetten jelezni akarod a keresőrobotoknak, hogy a domain oldalai már nem léteznek.
|
||||
|
||||
Ennek a kiszolgálónak egy további előnye, hogy nyomon követheted a rá érkező találatokat a naplókban, és megtekintheted a hivatkozó oldalakat.
|
||||
7
frontend/src/locale/src/HelpDoc/hu/ProxyHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/hu/ProxyHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Mi az a Proxy Kiszolgáló?
|
||||
|
||||
A Proxy Kiszolgáló egy bejövő végpont egy olyan webszolgáltatáshoz, amelyet továbbítani szeretnél.
|
||||
|
||||
Opcionális SSL lezárást biztosít a szolgáltatásodhoz, amelyben esetleg nincs beépített SSL támogatás.
|
||||
|
||||
A Proxy Kiszolgálók az Nginx Proxy Manager leggyakoribb felhasználási módjai.
|
||||
5
frontend/src/locale/src/HelpDoc/hu/RedirectionHosts.md
Normal file
5
frontend/src/locale/src/HelpDoc/hu/RedirectionHosts.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## Mi az az Átirányító Kiszolgáló?
|
||||
|
||||
Az Átirányító Kiszolgáló a bejövő domainre érkező kéréseket átirányítja, és a látogatót egy másik domainre küldi.
|
||||
|
||||
Ennek a kiszolgálótípusnak a leggyakoribb használati oka az, amikor a weboldalad domaint vált, de a keresőkben vagy a hivatkozó oldalakon még mindig a régi domainre mutató linkek vannak.
|
||||
5
frontend/src/locale/src/HelpDoc/hu/Streams.md
Normal file
5
frontend/src/locale/src/HelpDoc/hu/Streams.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## Mi az a Stream?
|
||||
|
||||
Az Nginx egy viszonylag új funkciója, a Stream arra szolgál, hogy a TCP/UDP forgalmat közvetlenül továbbítsa a hálózat egy másik számítógépére.
|
||||
|
||||
Ha játékszervereket, FTP vagy SSH szervereket futtatsz, ez hasznos lehet.
|
||||
6
frontend/src/locale/src/HelpDoc/hu/index.ts
Normal file
6
frontend/src/locale/src/HelpDoc/hu/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
@@ -1,37 +1,38 @@
|
||||
import * as bg from "./bg/index";
|
||||
import * as de from "./de/index";
|
||||
import * as pt from "./pt/index";
|
||||
import * as en from "./en/index";
|
||||
import * as ga from './ga/index'
|
||||
import * as es from "./es/index";
|
||||
import * as fr from "./fr/index";
|
||||
import * as ga from "./ga/index";
|
||||
import * as id from "./id/index";
|
||||
import * as it from "./it/index";
|
||||
import * as ja from "./ja/index";
|
||||
import * as ko from "./ko/index";
|
||||
import * as nl from "./nl/index";
|
||||
import * as pl from "./pl/index";
|
||||
import * as ru from "./ru/index";
|
||||
import * as sk from "./sk/index";
|
||||
import * as cs from "./cs/index";
|
||||
import * as vi from "./vi/index";
|
||||
import * as zh from "./zh/index";
|
||||
import * as ko from "./ko/index";
|
||||
import * as bg from "./bg/index";
|
||||
import * as tr from "./tr/index";
|
||||
import * as hu from "./hu/index";
|
||||
|
||||
const items: any = { en, de, pt, es, ja, sk, cs, zh, pl, ru, it, vi, nl, bg, ko, ga, id, fr, tr, hu };
|
||||
|
||||
const items: any = { en, de, ja, sk, zh, pl, ru, it, vi, nl, bg, ko, ga, id }
|
||||
|
||||
const fallbackLang = "en";
|
||||
|
||||
export const getHelpFile = (lang: string, section: string): string => {
|
||||
if (
|
||||
typeof items[lang] !== "undefined" &&
|
||||
typeof items[lang][section] !== "undefined"
|
||||
) {
|
||||
return items[lang][section].default;
|
||||
}
|
||||
// Fallback to English
|
||||
if (
|
||||
typeof items[fallbackLang] !== "undefined" &&
|
||||
typeof items[fallbackLang][section] !== "undefined"
|
||||
) {
|
||||
return items[fallbackLang][section].default;
|
||||
}
|
||||
throw new Error(`Cannot load help doc for ${lang}-${section}`);
|
||||
if (typeof items[lang] !== "undefined" && typeof items[lang][section] !== "undefined") {
|
||||
return items[lang][section].default;
|
||||
}
|
||||
// Fallback to English
|
||||
if (typeof items[fallbackLang] !== "undefined" && typeof items[fallbackLang][section] !== "undefined") {
|
||||
return items[fallbackLang][section].default;
|
||||
}
|
||||
throw new Error(`Cannot load help doc for ${lang}-${section}`);
|
||||
};
|
||||
|
||||
export default items;
|
||||
|
||||
7
frontend/src/locale/src/HelpDoc/no/AccessLists.md
Normal file
7
frontend/src/locale/src/HelpDoc/no/AccessLists.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Hva er en tilgangsliste?
|
||||
|
||||
Tilgangslister gir en svarteliste eller hviteliste over spesifikke klient‑IP‑adresser, sammen med autentisering for `Proxy‑hosts` via Basic HTTP‑autentisering.
|
||||
|
||||
Du kan konfigurere flere klientregler, brukernavn og passord for én tilgangsliste og deretter bruke denne på én eller flere `Proxy‑hosts`.
|
||||
|
||||
Dette er spesielt nyttig for videresendte webtjenester som ikke har innebygd autentisering, eller når du ønsker å beskytte mot ukjente klienter.
|
||||
29
frontend/src/locale/src/HelpDoc/no/Certificates.md
Normal file
29
frontend/src/locale/src/HelpDoc/no/Certificates.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## Hjelp om sertifikater
|
||||
|
||||
### HTTP‑sertifikat
|
||||
|
||||
Et HTTP‑validert sertifikat betyr at Let's Encrypt‑serverne vil forsøke å nå
|
||||
domenene dine over HTTP (ikke HTTPS!) og hvis det lykkes, vil de utstede sertifikatet.
|
||||
|
||||
For denne metoden må du ha en `Proxy‑host` opprettet for domenet/domenene dine som
|
||||
er tilgjengelig over HTTP og peker til denne Nginx‑installasjonen. Etter at et sertifikat
|
||||
er utstedt, kan du endre `Proxy‑host` til også å bruke dette sertifikatet for HTTPS‑tilkoblinger.
|
||||
Proxy‑hosten må imidlertid fortsatt være konfigurert for HTTP‑tilgang for at sertifikatet skal kunne fornyes.
|
||||
|
||||
Denne prosessen _støtter ikke_ wildcard‑domener.
|
||||
|
||||
### DNS‑sertifikat
|
||||
|
||||
Et DNS‑validert sertifikat krever at du bruker en DNS‑leverandør‑plugin. Denne leverandøren
|
||||
vil opprette midlertidige DNS‑poster på domenet ditt, og Let's Encrypt vil deretter spørre
|
||||
disse postene for å bekrefte at du eier domenet. Hvis valideringen lykkes, utstedes sertifikatet.
|
||||
|
||||
Du trenger ikke å ha en `Proxy‑host` opprettet før du ber om denne typen sertifikat. Du trenger heller
|
||||
ikke at `Proxy‑host` er konfigurert for HTTP‑tilgang.
|
||||
|
||||
Denne prosessen _støtter_ wildcard‑domener.
|
||||
|
||||
### Egendefinert sertifikat
|
||||
|
||||
Bruk dette alternativet for å laste opp ditt eget SSL‑sertifikat, levert av din
|
||||
egen sertifikatmyndighet (CA).
|
||||
10
frontend/src/locale/src/HelpDoc/no/DeadHosts.md
Normal file
10
frontend/src/locale/src/HelpDoc/no/DeadHosts.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## Hva er en 404‑host?
|
||||
|
||||
En 404‑host er enkelt og greit en host‑oppsett som viser en 404‑side.
|
||||
|
||||
Dette kan være nyttig når domenet ditt er oppført i søkemotorer og du ønsker å
|
||||
vise en penere feilmelding, eller for å fortelle søkeindekser at sidene på domenet
|
||||
ikke lenger eksisterer.
|
||||
|
||||
En annen fordel med å ha denne hosten er å kunne spore treff i loggene og
|
||||
se hvilke henvisere som kommer til den.
|
||||
7
frontend/src/locale/src/HelpDoc/no/ProxyHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/no/ProxyHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Hva er en Proxy‑host?
|
||||
|
||||
En Proxy‑host er inngangspunktet (innkommende endepunkt) for en webtjeneste du ønsker å videresende.
|
||||
|
||||
Den tilbyr valgfri SSL‑terminering for tjenesten din hvis tjenesten ikke har innebygd støtte for SSL.
|
||||
|
||||
Proxy‑hosts er den vanligste bruken av Nginx Proxy Manager.
|
||||
7
frontend/src/locale/src/HelpDoc/no/RedirectionHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/no/RedirectionHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Hva er en omdirigerings‑host?
|
||||
|
||||
En omdirigerings‑host omdirigerer forespørsler fra det innkommende domenet og videresender
|
||||
brukeren til et annet domene.
|
||||
|
||||
Den vanligste årsaken til å bruke denne typen host er når nettstedet ditt har byttet
|
||||
domene, men søkemotorer eller henvisningslenker fortsatt peker til det gamle domenet.
|
||||
6
frontend/src/locale/src/HelpDoc/no/Streams.md
Normal file
6
frontend/src/locale/src/HelpDoc/no/Streams.md
Normal file
@@ -0,0 +1,6 @@
|
||||
## Hva er en Stream?
|
||||
|
||||
En relativt ny funksjon i Nginx. En Stream brukes til å videresende TCP/UDP‑trafikk
|
||||
direkte til en annen maskin i nettverket.
|
||||
|
||||
Dette er nyttig hvis du kjører spillservere, FTP‑ eller SSH‑servere.
|
||||
6
frontend/src/locale/src/HelpDoc/no/index.ts
Normal file
6
frontend/src/locale/src/HelpDoc/no/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
11
frontend/src/locale/src/HelpDoc/pt/AccessLists.md
Normal file
11
frontend/src/locale/src/HelpDoc/pt/AccessLists.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## O que é uma Access List?
|
||||
|
||||
As *Access Lists* fornecem uma lista de permissões (whitelist) ou bloqueios (blacklist)
|
||||
de endereços IP específicos de clientes, juntamente com autenticação para os *Proxy Hosts*
|
||||
via Autenticação HTTP Básica (*Basic Auth*).
|
||||
|
||||
Podes configurar múltiplas regras de cliente, nomes de utilizador e palavras-passe
|
||||
para uma única *Access List*, e depois aplicá-la a um ou mais *Proxy Hosts*.
|
||||
|
||||
Isto é especialmente útil para serviços web encaminhados que não têm mecanismos
|
||||
de autenticação integrados ou quando pretendes proteger o acesso contra clientes desconhecidos.
|
||||
31
frontend/src/locale/src/HelpDoc/pt/Certificates.md
Normal file
31
frontend/src/locale/src/HelpDoc/pt/Certificates.md
Normal file
@@ -0,0 +1,31 @@
|
||||
## Ajuda de Certificados
|
||||
|
||||
### Certificado HTTP
|
||||
|
||||
Um certificado validado por HTTP significa que os servidores do Let's Encrypt irão
|
||||
tentar aceder aos teus domínios via HTTP (não HTTPS!) e, se a ligação for bem-sucedida,
|
||||
emitirão o certificado.
|
||||
|
||||
Para este método, é necessário ter um *Proxy Host* criado para o(s) teu(s) domínio(s),
|
||||
acessível via HTTP e a apontar para esta instalação do Nginx. Depois de o certificado ser
|
||||
emitido, podes modificar o *Proxy Host* para também utilizar esse certificado em ligações HTTPS.
|
||||
No entanto, o *Proxy Host* deve continuar configurado para acesso HTTP para que a renovação
|
||||
funcione corretamente.
|
||||
|
||||
Este processo **não** suporta domínios wildcard.
|
||||
|
||||
### Certificado DNS
|
||||
|
||||
Um certificado validado por DNS requer que uses um plugin de fornecedor DNS (*DNS Provider*).
|
||||
Este fornecedor será usado para criar registos temporários no teu domínio, que serão consultados
|
||||
pelo Let's Encrypt para confirmar que és o proprietário. Se tudo correr bem, o certificado será emitido.
|
||||
|
||||
Não é necessário ter um *Proxy Host* criado antes de pedir este tipo de certificado.
|
||||
Também não é necessário que o *Proxy Host* tenha acesso HTTP configurado.
|
||||
|
||||
Este processo **suporta** domínios wildcard.
|
||||
|
||||
### Certificado Personalizado
|
||||
|
||||
Usa esta opção para carregar o teu próprio Certificado SSL, fornecido pela
|
||||
tua Autoridade Certificadora.
|
||||
9
frontend/src/locale/src/HelpDoc/pt/DeadHosts.md
Normal file
9
frontend/src/locale/src/HelpDoc/pt/DeadHosts.md
Normal file
@@ -0,0 +1,9 @@
|
||||
## O que é um 404 Host?
|
||||
|
||||
Um *404 Host* é simplesmente um host configurado para apresentar uma página 404.
|
||||
|
||||
Isto pode ser útil quando o teu domínio aparece em motores de busca e queres fornecer
|
||||
uma página de erro mais agradável ou indicar especificamente aos indexadores de pesquisa
|
||||
que as páginas desse domínio já não existem.
|
||||
|
||||
Outra vantagem é permitir consultar os registos de acessos a este host e ver os referenciadores.
|
||||
7
frontend/src/locale/src/HelpDoc/pt/ProxyHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/pt/ProxyHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## O que é um Proxy Host?
|
||||
|
||||
Um *Proxy Host* é o ponto de entrada para um serviço web que pretendes encaminhar.
|
||||
|
||||
Permite, opcionalmente, fazer terminação SSL para um serviço que possa não ter suporte SSL nativo.
|
||||
|
||||
Os *Proxy Hosts* são a utilização mais comum do Nginx Proxy Manager.
|
||||
7
frontend/src/locale/src/HelpDoc/pt/RedirectionHosts.md
Normal file
7
frontend/src/locale/src/HelpDoc/pt/RedirectionHosts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## O que é um Redirection Host?
|
||||
|
||||
Um *Redirection Host* redireciona pedidos recebidos no domínio de entrada e envia
|
||||
o utilizador para outro domínio.
|
||||
|
||||
A razão mais comum para usar este tipo de host é quando o teu site muda de domínio
|
||||
mas ainda tens motores de busca ou links de referência a apontar para o domínio antigo.
|
||||
6
frontend/src/locale/src/HelpDoc/pt/Streams.md
Normal file
6
frontend/src/locale/src/HelpDoc/pt/Streams.md
Normal file
@@ -0,0 +1,6 @@
|
||||
## O que é um Stream?
|
||||
|
||||
Uma funcionalidade relativamente recente no Nginx, um *Stream* serve para encaminhar
|
||||
tráfego TCP/UDP diretamente para outro computador na rede.
|
||||
|
||||
Se estiveres a executar servidores de jogos, FTP ou SSH, isto pode ser bastante útil.
|
||||
6
frontend/src/locale/src/HelpDoc/pt/index.ts
Normal file
6
frontend/src/locale/src/HelpDoc/pt/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
8
frontend/src/locale/src/HelpDoc/tr/AccessLists.md
Normal file
8
frontend/src/locale/src/HelpDoc/tr/AccessLists.md
Normal file
@@ -0,0 +1,8 @@
|
||||
## Erişim Listesi Nedir?
|
||||
|
||||
Erişim Listeleri, Temel HTTP Kimlik Doğrulama aracılığıyla Proxy Host'lar için belirli istemci IP adreslerinin kara listesi veya beyaz listesini ve kimlik doğrulamasını sağlar.
|
||||
|
||||
Tek bir Erişim Listesi için birden fazla istemci kuralı, kullanıcı adı ve şifre yapılandırabilir ve bunu bir veya daha fazla _Proxy Host_'a uygulayabilirsiniz.
|
||||
|
||||
Bu, yerleşik kimlik doğrulama mekanizmaları olmayan veya bilinmeyen istemcilerden korunmak istediğinizde iletilen web hizmetleri için en kullanışlıdır.
|
||||
|
||||
29
frontend/src/locale/src/HelpDoc/tr/Certificates.md
Normal file
29
frontend/src/locale/src/HelpDoc/tr/Certificates.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## Sertifika Yardımı
|
||||
|
||||
### HTTP Sertifikası
|
||||
|
||||
Bir HTTP doğrulanmış sertifika, Let's Encrypt sunucularının
|
||||
alan adlarınıza HTTP (HTTPS değil!) üzerinden ulaşmaya çalışacağı ve başarılı olursa,
|
||||
sertifikanızı verecekleri anlamına gelir.
|
||||
|
||||
Bu yöntem için, alan adlarınız için HTTP ile erişilebilir ve bu Nginx kurulumuna işaret eden bir _Proxy Host_ oluşturulmuş olmalıdır. Bir sertifika
|
||||
verildikten sonra, _Proxy Host_'u HTTPS
|
||||
bağlantıları için de bu sertifikayı kullanacak şekilde değiştirebilirsiniz. Ancak, sertifikanın yenilenmesi için _Proxy Host_'un hala HTTP erişimi için yapılandırılmış olması gerekecektir.
|
||||
|
||||
Bu işlem joker karakter alan adlarını _desteklemez_.
|
||||
|
||||
### DNS Sertifikası
|
||||
|
||||
Bir DNS doğrulanmış sertifika, bir DNS Sağlayıcı eklentisi kullanmanızı gerektirir. Bu DNS
|
||||
Sağlayıcı, alan adınızda geçici kayıtlar oluşturmak için kullanılacak ve ardından Let's
|
||||
Encrypt bu kayıtları sorgulayarak sahibi olduğunuzdan emin olacak ve başarılı olursa,
|
||||
sertifikanızı verecektir.
|
||||
|
||||
Bu tür bir sertifika talep etmeden önce bir _Proxy Host_ oluşturulmasına gerek yoktur. Ayrıca _Proxy Host_'unuzun HTTP erişimi için yapılandırılmasına da gerek yoktur.
|
||||
|
||||
Bu işlem joker karakter alan adlarını _destekler_.
|
||||
|
||||
### Özel Sertifika
|
||||
|
||||
Kendi Sertifika Otoriteniz tarafından sağlanan kendi SSL Sertifikanızı yüklemek için bu seçeneği kullanın.
|
||||
|
||||
10
frontend/src/locale/src/HelpDoc/tr/DeadHosts.md
Normal file
10
frontend/src/locale/src/HelpDoc/tr/DeadHosts.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## 404 Host Nedir?
|
||||
|
||||
404 Host, basitçe bir 404 sayfası gösteren bir host kurulumudur.
|
||||
|
||||
Bu, alan adınız arama motorlarında listelendiğinde ve daha güzel bir hata sayfası sağlamak veya özellikle arama dizinleyicilerine
|
||||
alan adı sayfalarının artık mevcut olmadığını söylemek istediğinizde yararlı olabilir.
|
||||
|
||||
Bu host'un bir başka faydası da, ona yapılan isteklerin loglarını takip etmek ve
|
||||
referansları görüntülemektir.
|
||||
|
||||
8
frontend/src/locale/src/HelpDoc/tr/ProxyHosts.md
Normal file
8
frontend/src/locale/src/HelpDoc/tr/ProxyHosts.md
Normal file
@@ -0,0 +1,8 @@
|
||||
## Proxy Host Nedir?
|
||||
|
||||
Proxy Host, iletilmek istediğiniz bir web hizmeti için gelen uç noktadır.
|
||||
|
||||
SSL desteği yerleşik olmayan hizmetiniz için isteğe bağlı SSL sonlandırma sağlar.
|
||||
|
||||
Proxy Host'lar, Nginx Proxy Manager'ın en yaygın kullanımıdır.
|
||||
|
||||
8
frontend/src/locale/src/HelpDoc/tr/RedirectionHosts.md
Normal file
8
frontend/src/locale/src/HelpDoc/tr/RedirectionHosts.md
Normal file
@@ -0,0 +1,8 @@
|
||||
## Yönlendirme Host'u Nedir?
|
||||
|
||||
Yönlendirme Host'u, gelen alan adından gelen istekleri yönlendirir ve
|
||||
görüntüleyiciyi başka bir alan adına yönlendirir.
|
||||
|
||||
Bu tür bir host kullanmanın en yaygın nedeni, web sitenizin alan adı değiştiğinde
|
||||
ancak hala eski alan adına işaret eden arama motoru veya referans bağlantılarınız olduğunda ortaya çıkar.
|
||||
|
||||
7
frontend/src/locale/src/HelpDoc/tr/Streams.md
Normal file
7
frontend/src/locale/src/HelpDoc/tr/Streams.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Akış Nedir?
|
||||
|
||||
Nginx için nispeten yeni bir özellik olan Akış, TCP/UDP
|
||||
trafiğini doğrudan ağdaki başka bir bilgisayara iletmek için hizmet edecektir.
|
||||
|
||||
Oyun sunucuları, FTP veya SSH sunucuları çalıştırıyorsanız bu işinize yarayabilir.
|
||||
|
||||
7
frontend/src/locale/src/HelpDoc/tr/index.ts
Normal file
7
frontend/src/locale/src/HelpDoc/tr/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export * as AccessLists from "./AccessLists.md";
|
||||
export * as Certificates from "./Certificates.md";
|
||||
export * as DeadHosts from "./DeadHosts.md";
|
||||
export * as ProxyHosts from "./ProxyHosts.md";
|
||||
export * as RedirectionHosts from "./RedirectionHosts.md";
|
||||
export * as Streams from "./Streams.md";
|
||||
|
||||
770
frontend/src/locale/src/cs.json
Normal file
770
frontend/src/locale/src/cs.json
Normal file
@@ -0,0 +1,770 @@
|
||||
{
|
||||
"2fa.backup-codes-remaining": {
|
||||
"defaultMessage": "Počet zbývajících záložních kódů: {count}"
|
||||
},
|
||||
"2fa.backup-warning": {
|
||||
"defaultMessage": "Tyto záložní kódy si uložte na bezpečném místě. Každý kód lze použít pouze jednou."
|
||||
},
|
||||
"2fa.disable": {
|
||||
"defaultMessage": "Vypnout dvoufaktorové ověřování"
|
||||
},
|
||||
"2fa.disable-confirm": {
|
||||
"defaultMessage": "Vypnout 2FA"
|
||||
},
|
||||
"2fa.disable-warning": {
|
||||
"defaultMessage": "Vypnutím dvoufaktorového ověřování snížíte bezpečnost svého účtu."
|
||||
},
|
||||
"2fa.disabled": {
|
||||
"defaultMessage": "Vypnuto"
|
||||
},
|
||||
"2fa.done": {
|
||||
"defaultMessage": "Uložil jsem si své záložní kódy."
|
||||
},
|
||||
"2fa.enable": {
|
||||
"defaultMessage": "Zapnout dvoufaktorové ověřování"
|
||||
},
|
||||
"2fa.enabled": {
|
||||
"defaultMessage": "Zapnuto"
|
||||
},
|
||||
"2fa.enter-code": {
|
||||
"defaultMessage": "Zadejte ověřovací kód"
|
||||
},
|
||||
"2fa.enter-code-disable": {
|
||||
"defaultMessage": "Zadejte ověřovací kód pro vypnutí"
|
||||
},
|
||||
"2fa.regenerate": {
|
||||
"defaultMessage": "Znovu vytvořit"
|
||||
},
|
||||
"2fa.regenerate-backup": {
|
||||
"defaultMessage": "Znovu vytvořit záložní kódy"
|
||||
},
|
||||
"2fa.regenerate-instructions": {
|
||||
"defaultMessage": "Zadejte ověřovací kód pro vytvoření nových záložních kódů. Vaše staré kódy budou neplatné."
|
||||
},
|
||||
"2fa.secret-key": {
|
||||
"defaultMessage": "Tajný klíč"
|
||||
},
|
||||
"2fa.setup-instructions": {
|
||||
"defaultMessage": "Naskenujte tento QR kód pomocí své ověřovací aplikace nebo zadejte tajný klíč ručně."
|
||||
},
|
||||
"2fa.status": {
|
||||
"defaultMessage": "Stav"
|
||||
},
|
||||
"2fa.title": {
|
||||
"defaultMessage": "Dvoufaktorové ověření"
|
||||
},
|
||||
"2fa.verify-enable": {
|
||||
"defaultMessage": "Ověřit a zapnout"
|
||||
},
|
||||
"access-list": {
|
||||
"defaultMessage": "seznam přístupů"
|
||||
},
|
||||
"access-list.access-count": {
|
||||
"defaultMessage": "{count} {count, plural, one {pravidlo} few {pravidla} other {pravidel}}"
|
||||
},
|
||||
"access-list.auth-count": {
|
||||
"defaultMessage": "{count} {count, plural, one {uživatel} few {uživatelé} other {uživatelů}}"
|
||||
},
|
||||
"access-list.help-rules-last": {
|
||||
"defaultMessage": "Když existuje alespoň jedno pravidlo, toto pravidlo „zamítnout vše“ bude přidáno jako poslední"
|
||||
},
|
||||
"access-list.help.rules-order": {
|
||||
"defaultMessage": "Upozornění: pravidla povolit a zamítnout budou uplatňována v pořadí, v jakém jsou definována."
|
||||
},
|
||||
"access-list.pass-auth": {
|
||||
"defaultMessage": "Odeslat ověření na Upstream"
|
||||
},
|
||||
"access-list.public": {
|
||||
"defaultMessage": "Veřejně přístupné"
|
||||
},
|
||||
"access-list.public.subtitle": {
|
||||
"defaultMessage": "Není potřeba základní ověření"
|
||||
},
|
||||
"access-list.rule-source.placeholder": {
|
||||
"defaultMessage": "192.168.1.100 nebo 192.168.1.0/24 nebo 2001:0db8::/32"
|
||||
},
|
||||
"access-list.satisfy-any": {
|
||||
"defaultMessage": "Splnit kterékoliv"
|
||||
},
|
||||
"access-list.subtitle": {
|
||||
"defaultMessage": "{users} {users, plural, one {uživatel} few {uživatelé} other {uživatelů}}, {rules} {rules, plural, one {pravidlo} few {pravidla} other {pravidel}} - Vytvořeno: {date}"
|
||||
},
|
||||
"access-lists": {
|
||||
"defaultMessage": "Seznamy přístupů"
|
||||
},
|
||||
"action.add": {
|
||||
"defaultMessage": "Přidat"
|
||||
},
|
||||
"action.add-location": {
|
||||
"defaultMessage": "Přidat umístění"
|
||||
},
|
||||
"action.allow": {
|
||||
"defaultMessage": "Povolit"
|
||||
},
|
||||
"action.close": {
|
||||
"defaultMessage": "Zavřít"
|
||||
},
|
||||
"action.delete": {
|
||||
"defaultMessage": "Smazat"
|
||||
},
|
||||
"action.deny": {
|
||||
"defaultMessage": "Zamítnout"
|
||||
},
|
||||
"action.disable": {
|
||||
"defaultMessage": "Deaktivovat"
|
||||
},
|
||||
"action.download": {
|
||||
"defaultMessage": "Stáhnout"
|
||||
},
|
||||
"action.edit": {
|
||||
"defaultMessage": "Upravit"
|
||||
},
|
||||
"action.enable": {
|
||||
"defaultMessage": "Aktivovat"
|
||||
},
|
||||
"action.permissions": {
|
||||
"defaultMessage": "Oprávnění"
|
||||
},
|
||||
"action.renew": {
|
||||
"defaultMessage": "Obnovit"
|
||||
},
|
||||
"action.view-details": {
|
||||
"defaultMessage": "Zobrazit podrobnosti"
|
||||
},
|
||||
"auditlogs": {
|
||||
"defaultMessage": "Záznamy auditu"
|
||||
},
|
||||
"auto": {
|
||||
"defaultMessage": "Automaticky"
|
||||
},
|
||||
"cancel": {
|
||||
"defaultMessage": "Zrušit"
|
||||
},
|
||||
"certificate": {
|
||||
"defaultMessage": "certifikát"
|
||||
},
|
||||
"certificate.custom-certificate": {
|
||||
"defaultMessage": "Certifikát"
|
||||
},
|
||||
"certificate.custom-certificate-key": {
|
||||
"defaultMessage": "Klíč certifikátu"
|
||||
},
|
||||
"certificate.custom-intermediate": {
|
||||
"defaultMessage": "Zprostředkovatelský certifikát"
|
||||
},
|
||||
"certificate.in-use": {
|
||||
"defaultMessage": "Používá se"
|
||||
},
|
||||
"certificate.none.subtitle": {
|
||||
"defaultMessage": "Není přiřazen žádný certifikát"
|
||||
},
|
||||
"certificate.none.subtitle.for-http": {
|
||||
"defaultMessage": "Tento hostitel nebude používat HTTPS"
|
||||
},
|
||||
"certificate.none.title": {
|
||||
"defaultMessage": "Žádný"
|
||||
},
|
||||
"certificate.not-in-use": {
|
||||
"defaultMessage": "Nepoužívá se"
|
||||
},
|
||||
"certificate.renew": {
|
||||
"defaultMessage": "Obnovit certifikát"
|
||||
},
|
||||
"certificates": {
|
||||
"defaultMessage": "Certifikáty"
|
||||
},
|
||||
"certificates.custom": {
|
||||
"defaultMessage": "Vlastní certifikát"
|
||||
},
|
||||
"certificates.custom.warning": {
|
||||
"defaultMessage": "Soubory klíčů chráněné heslem nejsou podporovány."
|
||||
},
|
||||
"certificates.dns.credentials": {
|
||||
"defaultMessage": "Obsah souboru s přihlašovacími údaji"
|
||||
},
|
||||
"certificates.dns.credentials-note": {
|
||||
"defaultMessage": "Tento doplněk vyžaduje konfigurační soubor obsahující API token nebo jiné přihlašovací údaje vašeho poskytovatele"
|
||||
},
|
||||
"certificates.dns.credentials-warning": {
|
||||
"defaultMessage": "Tyto údaje budou uloženy v databázi a v souboru jako obyčejný text!"
|
||||
},
|
||||
"certificates.dns.propagation-seconds": {
|
||||
"defaultMessage": "Propagace v sekundách"
|
||||
},
|
||||
"certificates.dns.propagation-seconds-note": {
|
||||
"defaultMessage": "Nechte prázdné pro výchozí hodnotu doplňku. Počet sekund, po které se čeká na propagaci DNS."
|
||||
},
|
||||
"certificates.dns.provider": {
|
||||
"defaultMessage": "DNS poskytovatel"
|
||||
},
|
||||
"certificates.dns.provider.placeholder": {
|
||||
"defaultMessage": "Vyberte poskytovatele..."
|
||||
},
|
||||
"certificates.dns.warning": {
|
||||
"defaultMessage": "Tato sekce vyžaduje znalost Certbotu a jeho DNS doplňků. Prosím, podívejte se do dokumentace příslušného doplňku."
|
||||
},
|
||||
"certificates.http.reachability-404": {
|
||||
"defaultMessage": "Na této doméně byl nalezen server, ale nezdá se, že jde o Nginx Proxy Manager. Ujistěte se, že vaše doména směřuje na IP, kde běží vaše instance NPM."
|
||||
},
|
||||
"certificates.http.reachability-failed-to-check": {
|
||||
"defaultMessage": "Nepodařilo se ověřit dostupnost kvůli chybě komunikace se službou site24x7.com."
|
||||
},
|
||||
"certificates.http.reachability-not-resolved": {
|
||||
"defaultMessage": "Na této doméně není dostupný žádný server. Ujistěte se, že doména existuje a směřuje na IP adresu s NPM a pokud je to potřeba, port 80 je přesměrován ve vašem routeru."
|
||||
},
|
||||
"certificates.http.reachability-ok": {
|
||||
"defaultMessage": "Váš server je dostupný a vytvoření certifikátu by mělo být možné."
|
||||
},
|
||||
"certificates.http.reachability-other": {
|
||||
"defaultMessage": "Na této doméně byl nalezen server, ale vrátil neočekávaný stavový kód {code}. Je to NPM server? Ujistěte se prosím, že doména směřuje na IP, kde běží vaše instance NPM."
|
||||
},
|
||||
"certificates.http.reachability-wrong-data": {
|
||||
"defaultMessage": "Na této doméně byl nalezen server, ale vrátil neočekávaná data. Je to NPM server? Ujistěte se, že doména směřuje na IP, kde běží vaše instance NPM."
|
||||
},
|
||||
"certificates.http.test-results": {
|
||||
"defaultMessage": "Výsledky testu"
|
||||
},
|
||||
"certificates.http.warning": {
|
||||
"defaultMessage": "Tyto domény musí být již nakonfigurovány tak, aby směřovaly na tuto instalaci."
|
||||
},
|
||||
"certificates.key-type": {
|
||||
"defaultMessage": "Typ klíče"
|
||||
},
|
||||
"certificates.key-type-description": {
|
||||
"defaultMessage": "RSA je široce kompatibilní, ECDSA je rychlejší a bezpečnější, ale nemusí být podporován staršími systémy"
|
||||
},
|
||||
"certificates.key-type-ecdsa": {
|
||||
"defaultMessage": "ECDSA 256"
|
||||
},
|
||||
"certificates.key-type-rsa": {
|
||||
"defaultMessage": "RSA 2048"
|
||||
},
|
||||
"certificates.request.subtitle": {
|
||||
"defaultMessage": "pomocí Let's Encrypt"
|
||||
},
|
||||
"certificates.request.title": {
|
||||
"defaultMessage": "Vyžádat nový certifikát"
|
||||
},
|
||||
"column.access": {
|
||||
"defaultMessage": "Přístup"
|
||||
},
|
||||
"column.authorization": {
|
||||
"defaultMessage": "Autorizace"
|
||||
},
|
||||
"column.authorizations": {
|
||||
"defaultMessage": "Autorizace"
|
||||
},
|
||||
"column.custom-locations": {
|
||||
"defaultMessage": "Vlastní umístění"
|
||||
},
|
||||
"column.destination": {
|
||||
"defaultMessage": "Cíl"
|
||||
},
|
||||
"column.details": {
|
||||
"defaultMessage": "Podrobnosti"
|
||||
},
|
||||
"column.email": {
|
||||
"defaultMessage": "Email"
|
||||
},
|
||||
"column.event": {
|
||||
"defaultMessage": "Událost"
|
||||
},
|
||||
"column.expires": {
|
||||
"defaultMessage": "Platnost do"
|
||||
},
|
||||
"column.http-code": {
|
||||
"defaultMessage": "Přístup"
|
||||
},
|
||||
"column.incoming-port": {
|
||||
"defaultMessage": "Vstupní port"
|
||||
},
|
||||
"column.name": {
|
||||
"defaultMessage": "Název"
|
||||
},
|
||||
"column.protocol": {
|
||||
"defaultMessage": "Protokol"
|
||||
},
|
||||
"column.provider": {
|
||||
"defaultMessage": "Poskytovatel"
|
||||
},
|
||||
"column.roles": {
|
||||
"defaultMessage": "Role"
|
||||
},
|
||||
"column.rules": {
|
||||
"defaultMessage": "Pravidla"
|
||||
},
|
||||
"column.satisfy": {
|
||||
"defaultMessage": "Splnit"
|
||||
},
|
||||
"column.satisfy-all": {
|
||||
"defaultMessage": "Všechny"
|
||||
},
|
||||
"column.satisfy-any": {
|
||||
"defaultMessage": "Kterékoliv"
|
||||
},
|
||||
"column.scheme": {
|
||||
"defaultMessage": "Schéma"
|
||||
},
|
||||
"column.source": {
|
||||
"defaultMessage": "Zdroj"
|
||||
},
|
||||
"column.ssl": {
|
||||
"defaultMessage": "SSL"
|
||||
},
|
||||
"column.status": {
|
||||
"defaultMessage": "Stav"
|
||||
},
|
||||
"created-on": {
|
||||
"defaultMessage": "Vytvořeno: {date}"
|
||||
},
|
||||
"dashboard": {
|
||||
"defaultMessage": "Panel"
|
||||
},
|
||||
"dead-host": {
|
||||
"defaultMessage": "404 hostitel"
|
||||
},
|
||||
"dead-hosts": {
|
||||
"defaultMessage": "404 Hostitelé"
|
||||
},
|
||||
"dead-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {404 hostitel} few {404 hostitelé} other {404 hostitelů}}"
|
||||
},
|
||||
"disabled": {
|
||||
"defaultMessage": "Deaktivováno"
|
||||
},
|
||||
"domain-names": {
|
||||
"defaultMessage": "Doménová jména"
|
||||
},
|
||||
"domain-names.max": {
|
||||
"defaultMessage": "Maximálně {count} doménových jmen"
|
||||
},
|
||||
"domain-names.placeholder": {
|
||||
"defaultMessage": "Začněte psát pro přidání domény..."
|
||||
},
|
||||
"domain-names.wildcards-not-permitted": {
|
||||
"defaultMessage": "Wildcards nejsou pro tento typ povoleny"
|
||||
},
|
||||
"domain-names.wildcards-not-supported": {
|
||||
"defaultMessage": "Wildcards nejsou podporovány pro tuto certifikační autoritu"
|
||||
},
|
||||
"domains.force-ssl": {
|
||||
"defaultMessage": "Vynutit SSL"
|
||||
},
|
||||
"domains.hsts-enabled": {
|
||||
"defaultMessage": "HSTS povoleno"
|
||||
},
|
||||
"domains.hsts-subdomains": {
|
||||
"defaultMessage": "HSTS pro subdomény"
|
||||
},
|
||||
"domains.http2-support": {
|
||||
"defaultMessage": "Podpora HTTP/2"
|
||||
},
|
||||
"domains.use-dns": {
|
||||
"defaultMessage": "Použít DNS výzvu"
|
||||
},
|
||||
"email-address": {
|
||||
"defaultMessage": "Emailová adresa"
|
||||
},
|
||||
"empty-search": {
|
||||
"defaultMessage": "Nebyly nalezeny žádné výsledky"
|
||||
},
|
||||
"empty-subtitle": {
|
||||
"defaultMessage": "Proč nevytvoříte nějaký?"
|
||||
},
|
||||
"enabled": {
|
||||
"defaultMessage": "Aktivováno"
|
||||
},
|
||||
"error.access.at-least-one": {
|
||||
"defaultMessage": "Je vyžadována alespoň jedna autorizace nebo jedno přístupové pravidlo"
|
||||
},
|
||||
"error.access.duplicate-usernames": {
|
||||
"defaultMessage": "Uživatelská jména pro autorizaci musí být jedinečná"
|
||||
},
|
||||
"error.invalid-auth": {
|
||||
"defaultMessage": "Neplatný email nebo heslo"
|
||||
},
|
||||
"error.invalid-domain": {
|
||||
"defaultMessage": "Neplatná doména: {domain}"
|
||||
},
|
||||
"error.invalid-email": {
|
||||
"defaultMessage": "Neplatná emailová adresa"
|
||||
},
|
||||
"error.max-character-length": {
|
||||
"defaultMessage": "Maximální délka je {max} znak{max, plural, one {} few {y} other {ů}}"
|
||||
},
|
||||
"error.max-domains": {
|
||||
"defaultMessage": "Příliš mnoho domén, maximum je {max}"
|
||||
},
|
||||
"error.maximum": {
|
||||
"defaultMessage": "Maximum je {max}"
|
||||
},
|
||||
"error.min-character-length": {
|
||||
"defaultMessage": "Minimální délka je {min} znak{min, plural, one {} few {y} other {ů}}"
|
||||
},
|
||||
"error.minimum": {
|
||||
"defaultMessage": "Minimum je {min}"
|
||||
},
|
||||
"error.passwords-must-match": {
|
||||
"defaultMessage": "Hesla se musí shodovat"
|
||||
},
|
||||
"error.required": {
|
||||
"defaultMessage": "Toto pole je povinné"
|
||||
},
|
||||
"expires.on": {
|
||||
"defaultMessage": "Platnost do: {date}"
|
||||
},
|
||||
"footer.github-fork": {
|
||||
"defaultMessage": "Forkněte mě na GitHubu"
|
||||
},
|
||||
"host.flags.block-exploits": {
|
||||
"defaultMessage": "Blokovat běžné exploity"
|
||||
},
|
||||
"host.flags.cache-assets": {
|
||||
"defaultMessage": "Uložit zdroje do mezipaměti"
|
||||
},
|
||||
"host.flags.preserve-path": {
|
||||
"defaultMessage": "Zachovat cestu"
|
||||
},
|
||||
"host.flags.protocols": {
|
||||
"defaultMessage": "Protokoly"
|
||||
},
|
||||
"host.flags.websockets-upgrade": {
|
||||
"defaultMessage": "Podpora WebSockets"
|
||||
},
|
||||
"host.forward-port": {
|
||||
"defaultMessage": "Port přesměrování"
|
||||
},
|
||||
"host.forward-scheme": {
|
||||
"defaultMessage": "Schéma"
|
||||
},
|
||||
"hosts": {
|
||||
"defaultMessage": "Hostitelé"
|
||||
},
|
||||
"http-only": {
|
||||
"defaultMessage": "Pouze HTTP"
|
||||
},
|
||||
"lets-encrypt": {
|
||||
"defaultMessage": "Let's Encrypt"
|
||||
},
|
||||
"lets-encrypt-via-dns": {
|
||||
"defaultMessage": "Let's Encrypt přes DNS"
|
||||
},
|
||||
"lets-encrypt-via-http": {
|
||||
"defaultMessage": "Let's Encrypt přes HTTP"
|
||||
},
|
||||
"loading": {
|
||||
"defaultMessage": "Načítá se…"
|
||||
},
|
||||
"login.2fa-code": {
|
||||
"defaultMessage": "Ověřovací kód"
|
||||
},
|
||||
"login.2fa-code-placeholder": {
|
||||
"defaultMessage": "Vložit kód"
|
||||
},
|
||||
"login.2fa-description": {
|
||||
"defaultMessage": "Vložte kód z vaší ověřovací aplikace"
|
||||
},
|
||||
"login.2fa-title": {
|
||||
"defaultMessage": "Dvoufaktorové ověření"
|
||||
},
|
||||
"login.2fa-verify": {
|
||||
"defaultMessage": "Ověřit"
|
||||
},
|
||||
"login.title": {
|
||||
"defaultMessage": "Přihlaste se ke svému účtu"
|
||||
},
|
||||
"nginx-config.label": {
|
||||
"defaultMessage": "Vlastní Nginx konfigurace"
|
||||
},
|
||||
"nginx-config.placeholder": {
|
||||
"defaultMessage": "# Zadejte vlastní Nginx konfiguraci na vlastní riziko!"
|
||||
},
|
||||
"no-permission-error": {
|
||||
"defaultMessage": "Nemáte oprávnění k zobrazení tohoto obsahu."
|
||||
},
|
||||
"notfound.action": {
|
||||
"defaultMessage": "Zpět na hlavní stránku"
|
||||
},
|
||||
"notfound.content": {
|
||||
"defaultMessage": "Omlouváme se, stránka, kterou hledáte, nebyla nalezena"
|
||||
},
|
||||
"notfound.title": {
|
||||
"defaultMessage": "Ups… Našli jste chybovou stránku"
|
||||
},
|
||||
"notification.error": {
|
||||
"defaultMessage": "Chyba"
|
||||
},
|
||||
"notification.object-deleted": {
|
||||
"defaultMessage": "{object} byl odstraněn"
|
||||
},
|
||||
"notification.object-disabled": {
|
||||
"defaultMessage": "{object} byl deaktivován"
|
||||
},
|
||||
"notification.object-enabled": {
|
||||
"defaultMessage": "{object} byl aktivován"
|
||||
},
|
||||
"notification.object-renewed": {
|
||||
"defaultMessage": "{object} byl obnoven"
|
||||
},
|
||||
"notification.object-saved": {
|
||||
"defaultMessage": "{object} byl uložen"
|
||||
},
|
||||
"notification.success": {
|
||||
"defaultMessage": "Úspěch"
|
||||
},
|
||||
"object.actions-title": {
|
||||
"defaultMessage": "{object} #{id}"
|
||||
},
|
||||
"object.add": {
|
||||
"defaultMessage": "Přidat {object}"
|
||||
},
|
||||
"object.delete": {
|
||||
"defaultMessage": "Smazat {object}"
|
||||
},
|
||||
"object.delete.content": {
|
||||
"defaultMessage": "Opravdu chcete smazat tento {object}?"
|
||||
},
|
||||
"object.edit": {
|
||||
"defaultMessage": "Upravit {object}"
|
||||
},
|
||||
"object.empty": {
|
||||
"defaultMessage": "Nejsou {objects}"
|
||||
},
|
||||
"object.event.created": {
|
||||
"defaultMessage": "Vytvořen {object}"
|
||||
},
|
||||
"object.event.deleted": {
|
||||
"defaultMessage": "Smazán {object}"
|
||||
},
|
||||
"object.event.disabled": {
|
||||
"defaultMessage": "Deaktivován {object}"
|
||||
},
|
||||
"object.event.enabled": {
|
||||
"defaultMessage": "Aktivován {object}"
|
||||
},
|
||||
"object.event.renewed": {
|
||||
"defaultMessage": "Obnoven {object}"
|
||||
},
|
||||
"object.event.updated": {
|
||||
"defaultMessage": "Aktualizován {object}"
|
||||
},
|
||||
"offline": {
|
||||
"defaultMessage": "Offline"
|
||||
},
|
||||
"online": {
|
||||
"defaultMessage": "Online"
|
||||
},
|
||||
"options": {
|
||||
"defaultMessage": "Možnosti"
|
||||
},
|
||||
"password": {
|
||||
"defaultMessage": "Heslo"
|
||||
},
|
||||
"password.generate": {
|
||||
"defaultMessage": "Vygenerovat náhodné heslo"
|
||||
},
|
||||
"password.hide": {
|
||||
"defaultMessage": "Skrýt heslo"
|
||||
},
|
||||
"password.show": {
|
||||
"defaultMessage": "Zobrazit heslo"
|
||||
},
|
||||
"permissions.hidden": {
|
||||
"defaultMessage": "Skryté"
|
||||
},
|
||||
"permissions.manage": {
|
||||
"defaultMessage": "Spravovat"
|
||||
},
|
||||
"permissions.view": {
|
||||
"defaultMessage": "Pouze pro zobrazení"
|
||||
},
|
||||
"permissions.visibility.all": {
|
||||
"defaultMessage": "Všechny položky"
|
||||
},
|
||||
"permissions.visibility.title": {
|
||||
"defaultMessage": "Viditelnost položky"
|
||||
},
|
||||
"permissions.visibility.user": {
|
||||
"defaultMessage": "Pouze vytvořené položky"
|
||||
},
|
||||
"proxy-host": {
|
||||
"defaultMessage": "proxy hostitele"
|
||||
},
|
||||
"proxy-host.forward-host": {
|
||||
"defaultMessage": "Cílový název hostitele / IP"
|
||||
},
|
||||
"proxy-hosts": {
|
||||
"defaultMessage": "Proxy hostitelé"
|
||||
},
|
||||
"proxy-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {proxy hostitel} few {proxy hostitelé} other {proxy hostitelů}}"
|
||||
},
|
||||
"public": {
|
||||
"defaultMessage": "Veřejné"
|
||||
},
|
||||
"redirection-host": {
|
||||
"defaultMessage": "přesměrovacího hostitele"
|
||||
},
|
||||
"redirection-host.forward-domain": {
|
||||
"defaultMessage": "Cílová doména"
|
||||
},
|
||||
"redirection-host.forward-http-code": {
|
||||
"defaultMessage": "HTTP kód"
|
||||
},
|
||||
"redirection-hosts": {
|
||||
"defaultMessage": "Přesměrovací hostitelé"
|
||||
},
|
||||
"redirection-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {přesměrovací hostitel} few {přesměrovací hostitelé} other {přesměrovacích hostitelů}}"
|
||||
},
|
||||
"redirection-hosts.http-code.300": {
|
||||
"defaultMessage": "300 Více možností"
|
||||
},
|
||||
"redirection-hosts.http-code.301": {
|
||||
"defaultMessage": "301 Trvale přesunuto"
|
||||
},
|
||||
"redirection-hosts.http-code.302": {
|
||||
"defaultMessage": "302 Dočasně přesunuto"
|
||||
},
|
||||
"redirection-hosts.http-code.303": {
|
||||
"defaultMessage": "303 Podívat se na jiné"
|
||||
},
|
||||
"redirection-hosts.http-code.307": {
|
||||
"defaultMessage": "307 Dočasné přesměrování"
|
||||
},
|
||||
"redirection-hosts.http-code.308": {
|
||||
"defaultMessage": "308 Trvalé přesměrování"
|
||||
},
|
||||
"role.admin": {
|
||||
"defaultMessage": "Administrátor"
|
||||
},
|
||||
"role.standard-user": {
|
||||
"defaultMessage": "Běžný uživatel"
|
||||
},
|
||||
"save": {
|
||||
"defaultMessage": "Uložit"
|
||||
},
|
||||
"setting": {
|
||||
"defaultMessage": "Nastavení"
|
||||
},
|
||||
"settings": {
|
||||
"defaultMessage": "Nastavení"
|
||||
},
|
||||
"settings.default-site": {
|
||||
"defaultMessage": "Výchozí stránka"
|
||||
},
|
||||
"settings.default-site.404": {
|
||||
"defaultMessage": "Stránka 404"
|
||||
},
|
||||
"settings.default-site.444": {
|
||||
"defaultMessage": "Bez odpovědi (444)"
|
||||
},
|
||||
"settings.default-site.congratulations": {
|
||||
"defaultMessage": "Gratulační stránka"
|
||||
},
|
||||
"settings.default-site.description": {
|
||||
"defaultMessage": "Co zobrazit, když Nginx zachytí neznámého hostitele"
|
||||
},
|
||||
"settings.default-site.html": {
|
||||
"defaultMessage": "Vlastní HTML"
|
||||
},
|
||||
"settings.default-site.html.placeholder": {
|
||||
"defaultMessage": "<!-- Sem zadejte vlastní HTML obsah -->"
|
||||
},
|
||||
"settings.default-site.redirect": {
|
||||
"defaultMessage": "Přesměrovat"
|
||||
},
|
||||
"setup.preamble": {
|
||||
"defaultMessage": "Začněte vytvořením administrátorského účtu."
|
||||
},
|
||||
"setup.title": {
|
||||
"defaultMessage": "Vítejte!"
|
||||
},
|
||||
"sign-in": {
|
||||
"defaultMessage": "Přihlásit se"
|
||||
},
|
||||
"ssl-certificate": {
|
||||
"defaultMessage": "SSL certifikát"
|
||||
},
|
||||
"stream": {
|
||||
"defaultMessage": "stream"
|
||||
},
|
||||
"stream.forward-host": {
|
||||
"defaultMessage": "Cílový hostitel"
|
||||
},
|
||||
"stream.forward-host.placeholder": {
|
||||
"defaultMessage": "napriklad.cz nebo 10.0.0.1 nebo 2001:db8:3333:4444:5555:6666:7777:8888"
|
||||
},
|
||||
"stream.incoming-port": {
|
||||
"defaultMessage": "Vstupní port"
|
||||
},
|
||||
"streams": {
|
||||
"defaultMessage": "Streamy"
|
||||
},
|
||||
"streams.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {stream} few {streamy} other {streamů}}"
|
||||
},
|
||||
"streams.tcp": {
|
||||
"defaultMessage": "TCP"
|
||||
},
|
||||
"streams.udp": {
|
||||
"defaultMessage": "UDP"
|
||||
},
|
||||
"test": {
|
||||
"defaultMessage": "Test"
|
||||
},
|
||||
"update-available": {
|
||||
"defaultMessage": "Dostupná aktualizace: {latestVersion}"
|
||||
},
|
||||
"user": {
|
||||
"defaultMessage": "uživatele"
|
||||
},
|
||||
"user.change-password": {
|
||||
"defaultMessage": "Změnit heslo"
|
||||
},
|
||||
"user.confirm-password": {
|
||||
"defaultMessage": "Potvrdit heslo"
|
||||
},
|
||||
"user.current-password": {
|
||||
"defaultMessage": "Aktuální heslo"
|
||||
},
|
||||
"user.edit-profile": {
|
||||
"defaultMessage": "Upravit profil"
|
||||
},
|
||||
"user.full-name": {
|
||||
"defaultMessage": "Celé jméno"
|
||||
},
|
||||
"user.login-as": {
|
||||
"defaultMessage": "Přihlásit se jako {name}"
|
||||
},
|
||||
"user.logout": {
|
||||
"defaultMessage": "Odhlásit se"
|
||||
},
|
||||
"user.new-password": {
|
||||
"defaultMessage": "Nové heslo"
|
||||
},
|
||||
"user.nickname": {
|
||||
"defaultMessage": "Přezdívka"
|
||||
},
|
||||
"user.set-password": {
|
||||
"defaultMessage": "Nastavit heslo"
|
||||
},
|
||||
"user.set-permissions": {
|
||||
"defaultMessage": "Nastavit oprávnění pro {name}"
|
||||
},
|
||||
"user.switch-dark": {
|
||||
"defaultMessage": "Přepnout na tmavý režim"
|
||||
},
|
||||
"user.switch-light": {
|
||||
"defaultMessage": "Přepnout na světlý režim"
|
||||
},
|
||||
"user.two-factor": {
|
||||
"defaultMessage": "Dvoufaktorové ověření"
|
||||
},
|
||||
"username": {
|
||||
"defaultMessage": "Uživatelské jméno"
|
||||
},
|
||||
"users": {
|
||||
"defaultMessage": "Uživatelé"
|
||||
}
|
||||
}
|
||||
@@ -30,13 +30,13 @@
|
||||
"defaultMessage": "{users} {users, plural, one {User} other {Users}}, {rules} {rules, plural, one {Regel} other {Regeln}} - Erstellt: {date}"
|
||||
},
|
||||
"access-lists": {
|
||||
"defaultMessage": "Zugrifflisten"
|
||||
"defaultMessage": "Zugriffslisten"
|
||||
},
|
||||
"action.add": {
|
||||
"defaultMessage": "Hinzufügen"
|
||||
},
|
||||
"action.add-location": {
|
||||
"defaultMessage": "Pfad Hinzufügen"
|
||||
"defaultMessage": "Pfad hinzufügen"
|
||||
},
|
||||
"action.close": {
|
||||
"defaultMessage": "Schließen"
|
||||
@@ -60,13 +60,13 @@
|
||||
"defaultMessage": "Berechtigungen"
|
||||
},
|
||||
"action.renew": {
|
||||
"defaultMessage": "Erneuert"
|
||||
"defaultMessage": "Erneuern"
|
||||
},
|
||||
"action.view-details": {
|
||||
"defaultMessage": "Details"
|
||||
"defaultMessage": "Details anzeigen"
|
||||
},
|
||||
"auditlogs": {
|
||||
"defaultMessage": "Protokoll"
|
||||
"defaultMessage": "Protokolle"
|
||||
},
|
||||
"cancel": {
|
||||
"defaultMessage": "Abbrechen"
|
||||
@@ -81,7 +81,7 @@
|
||||
"defaultMessage": "Privater Schlüssel"
|
||||
},
|
||||
"certificate.custom-intermediate": {
|
||||
"defaultMessage": "Zwischen Zertifikat"
|
||||
"defaultMessage": "Zwischenzertifikat"
|
||||
},
|
||||
"certificate.in-use": {
|
||||
"defaultMessage": "In Benutzung"
|
||||
@@ -120,7 +120,7 @@
|
||||
"defaultMessage": "Diese Daten werden als Klartext in der Datenbank und in einer Datei gespeichert!"
|
||||
},
|
||||
"certificates.dns.propagation-seconds": {
|
||||
"defaultMessage": "Wartzeit in Sekunden"
|
||||
"defaultMessage": "Wartezeit in Sekunden"
|
||||
},
|
||||
"certificates.dns.propagation-seconds-note": {
|
||||
"defaultMessage": "Leer lassen um die Standardwartezeit des Plugins zu nutzen"
|
||||
@@ -150,7 +150,7 @@
|
||||
"defaultMessage": "Unter dieser Domain wurde ein Server gefunden, der jedoch unerwartete Daten zurückgegeben hat. Handelt es sich um den NPM-Server? Bitte stellen Sie sicher, dass Ihre Domain auf die IP-Adresse verweist, unter der Ihre NPM-Instanz ausgeführt wird."
|
||||
},
|
||||
"certificates.http.test-results": {
|
||||
"defaultMessage": "Test Ergeniss"
|
||||
"defaultMessage": "Testergebnisse"
|
||||
},
|
||||
"certificates.http.warning": {
|
||||
"defaultMessage": "Diese Domänen müssen bereits so konfiguriert sein, dass sie auf diese Installation verweisen."
|
||||
@@ -183,7 +183,7 @@
|
||||
"defaultMessage": "Genehmigungen"
|
||||
},
|
||||
"column.custom-locations": {
|
||||
"defaultMessage": "Benutzerdefinierte Pfad"
|
||||
"defaultMessage": "Benutzerdefinierte Pfade"
|
||||
},
|
||||
"column.destination": {
|
||||
"defaultMessage": "Ziel"
|
||||
@@ -192,7 +192,7 @@
|
||||
"defaultMessage": "Details"
|
||||
},
|
||||
"column.email": {
|
||||
"defaultMessage": "Email"
|
||||
"defaultMessage": "E-Mail"
|
||||
},
|
||||
"column.event": {
|
||||
"defaultMessage": "Ereignis"
|
||||
@@ -291,7 +291,7 @@
|
||||
"defaultMessage": "Nutze DNS Challenge"
|
||||
},
|
||||
"email-address": {
|
||||
"defaultMessage": "Email Addresse"
|
||||
"defaultMessage": "E-Mail-Adresse"
|
||||
},
|
||||
"empty-search": {
|
||||
"defaultMessage": "Keine Ergebnisse gefunden"
|
||||
@@ -384,7 +384,7 @@
|
||||
"defaultMessage": "Laden…"
|
||||
},
|
||||
"login.title": {
|
||||
"defaultMessage": "Account Login"
|
||||
"defaultMessage": "Anmelden"
|
||||
},
|
||||
"nginx-config.label": {
|
||||
"defaultMessage": "Benutzerdefinierte Nginx Konfiguration"
|
||||
@@ -399,7 +399,7 @@
|
||||
"defaultMessage": "Take me home"
|
||||
},
|
||||
"notfound.content": {
|
||||
"defaultMessage": "We are sorry but the page you are looking for was not found"
|
||||
"defaultMessage": "Es tut uns leid, aber die gesuchte Seite wurde nicht gefunden"
|
||||
},
|
||||
"notfound.title": {
|
||||
"defaultMessage": "Oops… You just found an error page"
|
||||
@@ -495,7 +495,7 @@
|
||||
"defaultMessage": "Alle Elemente"
|
||||
},
|
||||
"permissions.visibility.title": {
|
||||
"defaultMessage": "Objekt Sichtbarkeit"
|
||||
"defaultMessage": "Objektsichtbarkeit"
|
||||
},
|
||||
"permissions.visibility.user": {
|
||||
"defaultMessage": "Nur erstellte Elemente"
|
||||
@@ -534,7 +534,7 @@
|
||||
"defaultMessage": "Administrator"
|
||||
},
|
||||
"role.standard-user": {
|
||||
"defaultMessage": "Standard User"
|
||||
"defaultMessage": "Standardbenutzer"
|
||||
},
|
||||
"save": {
|
||||
"defaultMessage": "Speichern"
|
||||
@@ -546,7 +546,7 @@
|
||||
"defaultMessage": "Einstellungen"
|
||||
},
|
||||
"settings.default-site": {
|
||||
"defaultMessage": "Standard Seite"
|
||||
"defaultMessage": "Standardseite"
|
||||
},
|
||||
"settings.default-site.404": {
|
||||
"defaultMessage": "404 Page"
|
||||
@@ -579,7 +579,7 @@
|
||||
"defaultMessage": "Login"
|
||||
},
|
||||
"ssl-certificate": {
|
||||
"defaultMessage": "SSL Zertifikate"
|
||||
"defaultMessage": "SSL-Zertifikate"
|
||||
},
|
||||
"stream": {
|
||||
"defaultMessage": "Stream"
|
||||
@@ -645,7 +645,7 @@
|
||||
"defaultMessage": "Zum Dark Mode wechseln"
|
||||
},
|
||||
"user.switch-light": {
|
||||
"defaultMessage": "Zum Light Mode wechslen"
|
||||
"defaultMessage": "Zum Light Mode wechseln"
|
||||
},
|
||||
"username": {
|
||||
"defaultMessage": "Benutzername"
|
||||
|
||||
@@ -347,6 +347,9 @@
|
||||
"domain-names.wildcards-not-supported": {
|
||||
"defaultMessage": "Wildcards not supported for this CA"
|
||||
},
|
||||
"domains.advanced": {
|
||||
"defaultMessage": "Advanced"
|
||||
},
|
||||
"domains.force-ssl": {
|
||||
"defaultMessage": "Force SSL"
|
||||
},
|
||||
@@ -359,6 +362,9 @@
|
||||
"domains.http2-support": {
|
||||
"defaultMessage": "HTTP/2 Support"
|
||||
},
|
||||
"domains.trust-forwarded-proto": {
|
||||
"defaultMessage": "Trust Upstream Forwarded Proto Headers"
|
||||
},
|
||||
"domains.use-dns": {
|
||||
"defaultMessage": "Use DNS Challenge"
|
||||
},
|
||||
|
||||
647
frontend/src/locale/src/fr.json
Normal file
647
frontend/src/locale/src/fr.json
Normal file
@@ -0,0 +1,647 @@
|
||||
{
|
||||
"access-list": {
|
||||
"defaultMessage": "Liste d'accès"
|
||||
},
|
||||
"access-list.access-count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Règle} other {Règles}}"
|
||||
},
|
||||
"access-list.auth-count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Utilisateur} other {Utilisateurs}}"
|
||||
},
|
||||
"access-list.help-rules-last": {
|
||||
"defaultMessage": "S'il existe au moins une règle, cette règle de refuser tout sera ajoutée en dernier."
|
||||
},
|
||||
"access-list.help.rules-order": {
|
||||
"defaultMessage": "Notez que les directives autoriser et refuser seront appliquées dans l'ordre où elles sont définies."
|
||||
},
|
||||
"access-list.pass-auth": {
|
||||
"defaultMessage": "Transmettre l'authentification au serveur en amont"
|
||||
},
|
||||
"access-list.public": {
|
||||
"defaultMessage": "Accessible au public"
|
||||
},
|
||||
"access-list.public.subtitle": {
|
||||
"defaultMessage": "Aucune authentification de base requise"
|
||||
},
|
||||
"access-list.satisfy-any": {
|
||||
"defaultMessage": "Valide n'importe quelle règle"
|
||||
},
|
||||
"access-list.subtitle": {
|
||||
"defaultMessage": "{utilisateurs} {utilisateurs, plural, one {Utilisateur} other {Utilisateurs}}, {règles} {règles, plural, one {Règle} other {Règles}} - Crée : {date}"
|
||||
},
|
||||
"access-lists": {
|
||||
"defaultMessage": "Listes d'accès"
|
||||
},
|
||||
"action.add": {
|
||||
"defaultMessage": "Ajouter"
|
||||
},
|
||||
"action.add-location": {
|
||||
"defaultMessage": "Ajouter localisation"
|
||||
},
|
||||
"action.close": {
|
||||
"defaultMessage": "Fermer"
|
||||
},
|
||||
"action.delete": {
|
||||
"defaultMessage": "Supprimer"
|
||||
},
|
||||
"action.disable": {
|
||||
"defaultMessage": "Désactiver"
|
||||
},
|
||||
"action.download": {
|
||||
"defaultMessage": "Télécharger"
|
||||
},
|
||||
"action.edit": {
|
||||
"defaultMessage": "Modifier"
|
||||
},
|
||||
"action.enable": {
|
||||
"defaultMessage": "Activer"
|
||||
},
|
||||
"action.permissions": {
|
||||
"defaultMessage": "Permissions"
|
||||
},
|
||||
"action.renew": {
|
||||
"defaultMessage": "Renouveler"
|
||||
},
|
||||
"action.view-details": {
|
||||
"defaultMessage": "Voir les Détails"
|
||||
},
|
||||
"auditlogs": {
|
||||
"defaultMessage": "Journaux d'audit"
|
||||
},
|
||||
"cancel": {
|
||||
"defaultMessage": "Annuler"
|
||||
},
|
||||
"certificate": {
|
||||
"defaultMessage": "Certificat"
|
||||
},
|
||||
"certificate.custom-certificate": {
|
||||
"defaultMessage": "Certificat"
|
||||
},
|
||||
"certificate.custom-certificate-key": {
|
||||
"defaultMessage": "Clé du Certificat"
|
||||
},
|
||||
"certificate.custom-intermediate": {
|
||||
"defaultMessage": "Certificat intermédiaire"
|
||||
},
|
||||
"certificate.in-use": {
|
||||
"defaultMessage": "Utilisé"
|
||||
},
|
||||
"certificate.none.subtitle": {
|
||||
"defaultMessage": "Aucun certificat assigné"
|
||||
},
|
||||
"certificate.none.subtitle.for-http": {
|
||||
"defaultMessage": "Cet hôte n'utilisera pas le HTTPS"
|
||||
},
|
||||
"certificate.none.title": {
|
||||
"defaultMessage": "Aucun"
|
||||
},
|
||||
"certificate.not-in-use": {
|
||||
"defaultMessage": "Non utilisé"
|
||||
},
|
||||
"certificate.renew": {
|
||||
"defaultMessage": "Renouveler Certificat"
|
||||
},
|
||||
"certificates": {
|
||||
"defaultMessage": "Certificats"
|
||||
},
|
||||
"certificates.custom": {
|
||||
"defaultMessage": "Certificat personnalisé"
|
||||
},
|
||||
"certificates.custom.warning": {
|
||||
"defaultMessage": "Les fichiers de clé protégés par une passphrase ne sont pas acceptés."
|
||||
},
|
||||
"certificates.dns.credentials": {
|
||||
"defaultMessage": "Contenu du fichier d'identifiants"
|
||||
},
|
||||
"certificates.dns.credentials-note": {
|
||||
"defaultMessage": "Ce plugin nécessite un fichier de configuration contenant un jeton d'API ou d'autres informations d'identification pour votre fournisseur."
|
||||
},
|
||||
"certificates.dns.credentials-warning": {
|
||||
"defaultMessage": "Ces données seront stockées en clair dans la base de données et dans un fichier !"
|
||||
},
|
||||
"certificates.dns.propagation-seconds": {
|
||||
"defaultMessage": "Propagation Seconds"
|
||||
},
|
||||
"certificates.dns.propagation-seconds-note": {
|
||||
"defaultMessage": "Laisser vide pour utiliser la valeur par défaut du plugin. Nombre de secondes à attendre pour la propagation DNS."
|
||||
},
|
||||
"certificates.dns.provider": {
|
||||
"defaultMessage": "Fournisseur DNS"
|
||||
},
|
||||
"certificates.dns.warning": {
|
||||
"defaultMessage": "Cette section requiert une certaine connaissance de Certbot et de ses plugins DNS. Veuillez consulter la documentation des plugins correspondants."
|
||||
},
|
||||
"certificates.http.reachability-404": {
|
||||
"defaultMessage": "Un serveur a été trouvé sur ce domaine, mais il ne semble pas s'agir de Nginx Proxy Manager. Veuillez vérifier que votre domaine pointe bien vers l'adresse IP où votre instance NPM est exécutée."
|
||||
},
|
||||
"certificates.http.reachability-failed-to-check": {
|
||||
"defaultMessage": "Impossible de vérifier l'accessibilité en raison d'une erreur de communication avec site24x7.com."
|
||||
},
|
||||
"certificates.http.reachability-not-resolved": {
|
||||
"defaultMessage": "Aucun serveur n'est disponible pour ce domaine. Veuillez vérifier que votre domaine existe et pointe vers l'adresse IP où votre instance NPM est exécutée. Si nécessaire, le port 80 est ouvert dans votre routeur."
|
||||
},
|
||||
"certificates.http.reachability-ok": {
|
||||
"defaultMessage": "Votre serveur est accessible et la création de certificats devrait être possible."
|
||||
},
|
||||
"certificates.http.reachability-other": {
|
||||
"defaultMessage": "Un serveur a été trouvé sur ce domaine, mais il a renvoyé un code d'état inattendu {code}. S'agit-il du serveur NPM ? Veuillez vérifier que votre domaine pointe bien vers l'adresse IP où votre instance NPM est exécutée."
|
||||
},
|
||||
"certificates.http.reachability-wrong-data": {
|
||||
"defaultMessage": "Un serveur a été trouvé sur ce domaine, mais il a renvoyé des données inattendues. S'agit-il du serveur NPM ? Veuillez vérifier que votre domaine pointe bien vers l'adresse IP où votre instance NPM est exécutée."
|
||||
},
|
||||
"certificates.http.test-results": {
|
||||
"defaultMessage": "Résultats du test"
|
||||
},
|
||||
"certificates.http.warning": {
|
||||
"defaultMessage": "Ces domaines doivent déjà être configurés pour pointer vers cette installation."
|
||||
},
|
||||
"certificates.request.subtitle": {
|
||||
"defaultMessage": "avec Let's Encrypt"
|
||||
},
|
||||
"certificates.request.title": {
|
||||
"defaultMessage": "Demander un nouveau certificat"
|
||||
},
|
||||
"column.access": {
|
||||
"defaultMessage": "Accès"
|
||||
},
|
||||
"column.authorization": {
|
||||
"defaultMessage": "Autorisation"
|
||||
},
|
||||
"column.authorizations": {
|
||||
"defaultMessage": "Autorisations"
|
||||
},
|
||||
"column.custom-locations": {
|
||||
"defaultMessage": "Emplacement personnalisé"
|
||||
},
|
||||
"column.destination": {
|
||||
"defaultMessage": "Destination"
|
||||
},
|
||||
"column.details": {
|
||||
"defaultMessage": "Détails"
|
||||
},
|
||||
"column.email": {
|
||||
"defaultMessage": "eMail"
|
||||
},
|
||||
"column.event": {
|
||||
"defaultMessage": "Évènement"
|
||||
},
|
||||
"column.expires": {
|
||||
"defaultMessage": "Expire"
|
||||
},
|
||||
"column.http-code": {
|
||||
"defaultMessage": "Code HTTP"
|
||||
},
|
||||
"column.incoming-port": {
|
||||
"defaultMessage": "Port entrant"
|
||||
},
|
||||
"column.name": {
|
||||
"defaultMessage": "Nom"
|
||||
},
|
||||
"column.protocol": {
|
||||
"defaultMessage": "Protocole"
|
||||
},
|
||||
"column.provider": {
|
||||
"defaultMessage": "Fournisseur"
|
||||
},
|
||||
"column.roles": {
|
||||
"defaultMessage": "Rôles"
|
||||
},
|
||||
"column.rules": {
|
||||
"defaultMessage": "Règles"
|
||||
},
|
||||
"column.satisfy": {
|
||||
"defaultMessage": "Valide"
|
||||
},
|
||||
"column.satisfy-all": {
|
||||
"defaultMessage": "All"
|
||||
},
|
||||
"column.satisfy-any": {
|
||||
"defaultMessage": "Any"
|
||||
},
|
||||
"column.scheme": {
|
||||
"defaultMessage": "Schéma"
|
||||
},
|
||||
"column.source": {
|
||||
"defaultMessage": "Source"
|
||||
},
|
||||
"column.ssl": {
|
||||
"defaultMessage": "SSL"
|
||||
},
|
||||
"column.status": {
|
||||
"defaultMessage": "Statut"
|
||||
},
|
||||
"created-on": {
|
||||
"defaultMessage": "Créé : {date}"
|
||||
},
|
||||
"dashboard": {
|
||||
"defaultMessage": "Tableau de bord"
|
||||
},
|
||||
"dead-host": {
|
||||
"defaultMessage": "Hôte 404"
|
||||
},
|
||||
"dead-hosts": {
|
||||
"defaultMessage": "Hôtes 404"
|
||||
},
|
||||
"dead-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Hôte 404} other {Hôtes 404}}"
|
||||
},
|
||||
"disabled": {
|
||||
"defaultMessage": "Désactivé"
|
||||
},
|
||||
"domain-names": {
|
||||
"defaultMessage": "Noms de domaine"
|
||||
},
|
||||
"domain-names.max": {
|
||||
"defaultMessage": "{count} noms de domaine au maximum"
|
||||
},
|
||||
"domain-names.placeholder": {
|
||||
"defaultMessage": "Commencez à écrire pour ajouter un domaine…"
|
||||
},
|
||||
"domain-names.wildcards-not-permitted": {
|
||||
"defaultMessage": "Les Wildcards ne sont pas permises dans ce cas"
|
||||
},
|
||||
"domain-names.wildcards-not-supported": {
|
||||
"defaultMessage": "Les Wildcards ne sont pas prises en charge par cette autorité de certification."
|
||||
},
|
||||
"domains.force-ssl": {
|
||||
"defaultMessage": "Forcer SSL"
|
||||
},
|
||||
"domains.hsts-enabled": {
|
||||
"defaultMessage": "HSTS activé"
|
||||
},
|
||||
"domains.hsts-subdomains": {
|
||||
"defaultMessage": "Sous-domaines HSTS"
|
||||
},
|
||||
"domains.http2-support": {
|
||||
"defaultMessage": "Prise en charge de HTTP/2"
|
||||
},
|
||||
"domains.use-dns": {
|
||||
"defaultMessage": "Utiliser le challenge DNS"
|
||||
},
|
||||
"email-address": {
|
||||
"defaultMessage": "Adresse eMail"
|
||||
},
|
||||
"empty-search": {
|
||||
"defaultMessage": "Aucun résultat trouvé"
|
||||
},
|
||||
"empty-subtitle": {
|
||||
"defaultMessage": "Pourquoi n'en créez-vous pas un ?"
|
||||
},
|
||||
"enabled": {
|
||||
"defaultMessage": "Activé"
|
||||
},
|
||||
"error.access.at-least-one": {
|
||||
"defaultMessage": "Une autorisation ou une règle d'accès est requise."
|
||||
},
|
||||
"error.access.duplicate-usernames": {
|
||||
"defaultMessage": "Les noms d'utilisateurs autorisés doivent être uniques"
|
||||
},
|
||||
"error.invalid-auth": {
|
||||
"defaultMessage": "Adresse eMail ou mot de passe invalide"
|
||||
},
|
||||
"error.invalid-domain": {
|
||||
"defaultMessage": "Domaine invalide : {domain}"
|
||||
},
|
||||
"error.invalid-email": {
|
||||
"defaultMessage": "Adresse eMail invalide"
|
||||
},
|
||||
"error.max-character-length": {
|
||||
"defaultMessage": "La longueur maximale est {max} caractère{max, plural, one {} other {s}}"
|
||||
},
|
||||
"error.max-domains": {
|
||||
"defaultMessage": "Trop de domaines, le maximum est {max}"
|
||||
},
|
||||
"error.maximum": {
|
||||
"defaultMessage": "Le maximum est {max}"
|
||||
},
|
||||
"error.min-character-length": {
|
||||
"defaultMessage": "La longueur minimale est {min} caractère{min, plural, one {} other {s}}"
|
||||
},
|
||||
"error.minimum": {
|
||||
"defaultMessage": "Le minimum est {min}"
|
||||
},
|
||||
"error.passwords-must-match": {
|
||||
"defaultMessage": "Les mots de passe doivent correspondre"
|
||||
},
|
||||
"error.required": {
|
||||
"defaultMessage": "Ceci est obligatoire"
|
||||
},
|
||||
"expires.on": {
|
||||
"defaultMessage": "Expire : {date}"
|
||||
},
|
||||
"footer.github-fork": {
|
||||
"defaultMessage": "Forkez-moi sur Github"
|
||||
},
|
||||
"host.flags.block-exploits": {
|
||||
"defaultMessage": "Bloquer les exploits courants"
|
||||
},
|
||||
"host.flags.cache-assets": {
|
||||
"defaultMessage": "Ressources du cache"
|
||||
},
|
||||
"host.flags.preserve-path": {
|
||||
"defaultMessage": "Préserver le chemin"
|
||||
},
|
||||
"host.flags.protocols": {
|
||||
"defaultMessage": "Protocoles"
|
||||
},
|
||||
"host.flags.websockets-upgrade": {
|
||||
"defaultMessage": "Prise en charge de Websockets"
|
||||
},
|
||||
"host.forward-port": {
|
||||
"defaultMessage": "Port de redirection"
|
||||
},
|
||||
"host.forward-scheme": {
|
||||
"defaultMessage": "Schéma"
|
||||
},
|
||||
"hosts": {
|
||||
"defaultMessage": "Hôtes"
|
||||
},
|
||||
"http-only": {
|
||||
"defaultMessage": "HTTP uniquement"
|
||||
},
|
||||
"lets-encrypt": {
|
||||
"defaultMessage": "Let's Encrypt"
|
||||
},
|
||||
"lets-encrypt-via-dns": {
|
||||
"defaultMessage": "Let's Encrypt via DNS"
|
||||
},
|
||||
"lets-encrypt-via-http": {
|
||||
"defaultMessage": "Let's Encrypt via HTTP"
|
||||
},
|
||||
"loading": {
|
||||
"defaultMessage": "Chargement…"
|
||||
},
|
||||
"login.title": {
|
||||
"defaultMessage": "Connectez-vous à votre compte"
|
||||
},
|
||||
"nginx-config.label": {
|
||||
"defaultMessage": "Configuration Nginx personnalisée"
|
||||
},
|
||||
"nginx-config.placeholder": {
|
||||
"defaultMessage": "# Mettez ici votre configuration Nginx personnalisé à vos risques et périls !"
|
||||
},
|
||||
"no-permission-error": {
|
||||
"defaultMessage": "Vous n'avez pas la permission de voir ce contenu."
|
||||
},
|
||||
"notfound.action": {
|
||||
"defaultMessage": "Ramenez-moi à l'accueil"
|
||||
},
|
||||
"notfound.content": {
|
||||
"defaultMessage": "Nous sommes désolés, mais la page que vous cherchez est introuvable"
|
||||
},
|
||||
"notfound.title": {
|
||||
"defaultMessage": "Oops… Vous avez découvert une page d'erreur"
|
||||
},
|
||||
"notification.error": {
|
||||
"defaultMessage": "Erreur"
|
||||
},
|
||||
"notification.object-deleted": {
|
||||
"defaultMessage": "{object} a été supprimé"
|
||||
},
|
||||
"notification.object-disabled": {
|
||||
"defaultMessage": "{object} a été désactivé"
|
||||
},
|
||||
"notification.object-enabled": {
|
||||
"defaultMessage": "{object} a été activé"
|
||||
},
|
||||
"notification.object-renewed": {
|
||||
"defaultMessage": "{object} a été renouvelé"
|
||||
},
|
||||
"notification.object-saved": {
|
||||
"defaultMessage": "{object} a été enregistré"
|
||||
},
|
||||
"notification.success": {
|
||||
"defaultMessage": "Réussi"
|
||||
},
|
||||
"object.actions-title": {
|
||||
"defaultMessage": "{object} #{id}"
|
||||
},
|
||||
"object.add": {
|
||||
"defaultMessage": "Ajouter {object}"
|
||||
},
|
||||
"object.delete": {
|
||||
"defaultMessage": "Supprimer {object}"
|
||||
},
|
||||
"object.delete.content": {
|
||||
"defaultMessage": "Êtes-vous sûr de vouloir supprimer {object} ?"
|
||||
},
|
||||
"object.edit": {
|
||||
"defaultMessage": "Modifier {object}"
|
||||
},
|
||||
"object.empty": {
|
||||
"defaultMessage": "Il n'y a aucun {objects}"
|
||||
},
|
||||
"object.event.created": {
|
||||
"defaultMessage": "{object} créé"
|
||||
},
|
||||
"object.event.deleted": {
|
||||
"defaultMessage": "{object} supprimé"
|
||||
},
|
||||
"object.event.disabled": {
|
||||
"defaultMessage": "{object} désactivé"
|
||||
},
|
||||
"object.event.enabled": {
|
||||
"defaultMessage": "{object} activé"
|
||||
},
|
||||
"object.event.renewed": {
|
||||
"defaultMessage": "{object} renouvelé"
|
||||
},
|
||||
"object.event.updated": {
|
||||
"defaultMessage": "{object} mis à jour"
|
||||
},
|
||||
"offline": {
|
||||
"defaultMessage": "Hors ligne"
|
||||
},
|
||||
"online": {
|
||||
"defaultMessage": "En ligne"
|
||||
},
|
||||
"options": {
|
||||
"defaultMessage": "Options"
|
||||
},
|
||||
"password": {
|
||||
"defaultMessage": "Mot de passe"
|
||||
},
|
||||
"password.generate": {
|
||||
"defaultMessage": "Générer un mot de passe aléatoire"
|
||||
},
|
||||
"password.hide": {
|
||||
"defaultMessage": "Masquer le mot de passe"
|
||||
},
|
||||
"password.show": {
|
||||
"defaultMessage": "Afficher le mot de passe"
|
||||
},
|
||||
"permissions.hidden": {
|
||||
"defaultMessage": "Masquer"
|
||||
},
|
||||
"permissions.manage": {
|
||||
"defaultMessage": "Gérer"
|
||||
},
|
||||
"permissions.view": {
|
||||
"defaultMessage": "Voir uniquement"
|
||||
},
|
||||
"permissions.visibility.all": {
|
||||
"defaultMessage": "Tous les éléments"
|
||||
},
|
||||
"permissions.visibility.title": {
|
||||
"defaultMessage": "Éléments visibles"
|
||||
},
|
||||
"permissions.visibility.user": {
|
||||
"defaultMessage": "Éléments créés uniquement"
|
||||
},
|
||||
"proxy-host": {
|
||||
"defaultMessage": "Hôte proxy"
|
||||
},
|
||||
"proxy-host.forward-host": {
|
||||
"defaultMessage": "Nom d'hôte de redirection / IP"
|
||||
},
|
||||
"proxy-hosts": {
|
||||
"defaultMessage": "Hôtes proxy"
|
||||
},
|
||||
"proxy-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Hôte proxy} other {Hôtes proxy}}"
|
||||
},
|
||||
"public": {
|
||||
"defaultMessage": "Publique"
|
||||
},
|
||||
"redirection-host": {
|
||||
"defaultMessage": "Hôte de redirection"
|
||||
},
|
||||
"redirection-host.forward-domain": {
|
||||
"defaultMessage": "Domaine de redirection"
|
||||
},
|
||||
"redirection-host.forward-http-code": {
|
||||
"defaultMessage": "Code HTTP"
|
||||
},
|
||||
"redirection-hosts": {
|
||||
"defaultMessage": "Hôtes de redirection"
|
||||
},
|
||||
"redirection-hosts.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Hôte de redirection} other {Hôtes de redirection}}"
|
||||
},
|
||||
"role.admin": {
|
||||
"defaultMessage": "Administrateur"
|
||||
},
|
||||
"role.standard-user": {
|
||||
"defaultMessage": "Utilisateur standard"
|
||||
},
|
||||
"save": {
|
||||
"defaultMessage": "Enregistrer"
|
||||
},
|
||||
"setting": {
|
||||
"defaultMessage": "Paramètre"
|
||||
},
|
||||
"settings": {
|
||||
"defaultMessage": "Paramètres"
|
||||
},
|
||||
"settings.default-site": {
|
||||
"defaultMessage": "Site par défaut"
|
||||
},
|
||||
"settings.default-site.404": {
|
||||
"defaultMessage": "Page 404"
|
||||
},
|
||||
"settings.default-site.444": {
|
||||
"defaultMessage": "Aucune réponse (444)"
|
||||
},
|
||||
"settings.default-site.congratulations": {
|
||||
"defaultMessage": "Page de félicitations"
|
||||
},
|
||||
"settings.default-site.description": {
|
||||
"defaultMessage": "ce qu'il faut afficher lorsqu'un hôte inconnu est détecté par Nginx"
|
||||
},
|
||||
"settings.default-site.html": {
|
||||
"defaultMessage": "HTML personnalisé"
|
||||
},
|
||||
"settings.default-site.html.placeholder": {
|
||||
"defaultMessage": "<!-- Mettez votre contenu HTML personnalisé ici -->"
|
||||
},
|
||||
"settings.default-site.redirect": {
|
||||
"defaultMessage": "Redirection"
|
||||
},
|
||||
"setup.preamble": {
|
||||
"defaultMessage": "Commencez par créer votre compte administrateur."
|
||||
},
|
||||
"setup.title": {
|
||||
"defaultMessage": "Bienvenue !"
|
||||
},
|
||||
"sign-in": {
|
||||
"defaultMessage": "Se connecter"
|
||||
},
|
||||
"ssl-certificate": {
|
||||
"defaultMessage": "Certificat SSL"
|
||||
},
|
||||
"stream": {
|
||||
"defaultMessage": "Stream"
|
||||
},
|
||||
"stream.forward-host": {
|
||||
"defaultMessage": "Hôte destinataire"
|
||||
},
|
||||
"stream.incoming-port": {
|
||||
"defaultMessage": "Port d'entrée"
|
||||
},
|
||||
"streams": {
|
||||
"defaultMessage": "Streams"
|
||||
},
|
||||
"streams.count": {
|
||||
"defaultMessage": "{count} {count, plural, one {Stream} other {Streams}}"
|
||||
},
|
||||
"streams.tcp": {
|
||||
"defaultMessage": "TCP"
|
||||
},
|
||||
"streams.udp": {
|
||||
"defaultMessage": "UDP"
|
||||
},
|
||||
"test": {
|
||||
"defaultMessage": "Test"
|
||||
},
|
||||
"update-available": {
|
||||
"defaultMessage": "Mise à jour disponible : {latestVersion}"
|
||||
},
|
||||
"user": {
|
||||
"defaultMessage": "Utilisateur"
|
||||
},
|
||||
"user.change-password": {
|
||||
"defaultMessage": "Modifier le mot de passe"
|
||||
},
|
||||
"user.confirm-password": {
|
||||
"defaultMessage": "Confirmer le mot de passe"
|
||||
},
|
||||
"user.current-password": {
|
||||
"defaultMessage": "Mot de passe actuel"
|
||||
},
|
||||
"user.edit-profile": {
|
||||
"defaultMessage": "Modifier le profil"
|
||||
},
|
||||
"user.full-name": {
|
||||
"defaultMessage": "Nom complet"
|
||||
},
|
||||
"user.login-as": {
|
||||
"defaultMessage": "Se connecter en tant que {name}"
|
||||
},
|
||||
"user.logout": {
|
||||
"defaultMessage": "Déconnexion"
|
||||
},
|
||||
"user.new-password": {
|
||||
"defaultMessage": "Nouveau mot de passe"
|
||||
},
|
||||
"user.nickname": {
|
||||
"defaultMessage": "Pseudonyme"
|
||||
},
|
||||
"user.set-password": {
|
||||
"defaultMessage": "Définir le mot de passe"
|
||||
},
|
||||
"user.set-permissions": {
|
||||
"defaultMessage": "Définir les autorisations pour {name}"
|
||||
},
|
||||
"user.switch-dark": {
|
||||
"defaultMessage": "Passer au mode Sombre"
|
||||
},
|
||||
"user.switch-light": {
|
||||
"defaultMessage": "Passer au mode Lumineux"
|
||||
},
|
||||
"username": {
|
||||
"defaultMessage": "Nom d'utilisateur"
|
||||
},
|
||||
"users": {
|
||||
"defaultMessage": "Utilisateurs"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user