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;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
defaultListen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
# appendHttpConfig = inputs.zeroq-credentials.services.xray.maps;
|
||||
virtualHosts = {
|
||||
# "pubray.zeroq.su" = {
|
||||
@@ -235,5 +242,6 @@ in
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
8443
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user