We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f854c86 commit 8e8cbc0Copy full SHA for 8e8cbc0
machines/kfbox/configuration.nix
@@ -162,6 +162,29 @@
162
163
virtualHosts = {
164
165
+ "tm.0cx.de".extraConfig = ''
166
+ log {
167
+ level DEBUG
168
+ }
169
+ @options {
170
+ method OPTIONS
171
172
+ header {
173
+ Access-Control-Allow-Origin "{http.request.header.Origin}"
174
+ Access-Control-Allow-Credentials true
175
+ Access-Control-Allow-Methods *
176
+ Access-Control-Allow-Headers *
177
+ defer
178
179
+ reverse_proxy https://trackmania.exchange:443 {
180
+ header_down -Access-Control-Allow-Origin
181
+ header_down -Access-Control-Allow-Headers
182
+ header_up -Host
183
+ header_up +Host trackmania.exchange
184
185
+ respond @options 204
186
+ '';
187
+
188
"megaclan3000.de".extraConfig = ''
189
root * ${mc3000.packages.x86_64-linux.mc3000}
190
file_server
0 commit comments