mirror of
https://github.com/oqyude/nixos.git
synced 2026-08-09 08:03:16 +03:00
nginx vds setting up
This commit is contained in:
@@ -17,6 +17,13 @@ in
|
|||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
defaultListen = [
|
||||||
|
{
|
||||||
|
addr = "0.0.0.0";
|
||||||
|
port = 8443;
|
||||||
|
ssl = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
# appendHttpConfig = inputs.zeroq-credentials.services.xray.maps;
|
# appendHttpConfig = inputs.zeroq-credentials.services.xray.maps;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
# "pubray.zeroq.su" = {
|
# "pubray.zeroq.su" = {
|
||||||
@@ -235,5 +242,6 @@ in
|
|||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
|
8443
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user