Skip to content

Instantly share code, notes, and snippets.

@evilbulgarian
Created November 29, 2016 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evilbulgarian/ba9253caabf54bb93297641656897a6c to your computer and use it in GitHub Desktop.
Save evilbulgarian/ba9253caabf54bb93297641656897a6c to your computer and use it in GitHub Desktop.
{% set radon_ports = ['9000','9001','9002','9003','9004','9005','9006','9007','9008','9009','9010','9011','9012','9013','9014','9015','9016','9017','9018','9019','9020','9021','9022','9023','9024','9025','9026','9027','9028','9029','9030','9031','9032','9033','9034','9035','9036','9037','9038','9039','9040','9041','9042','9043','9044','9045','9046','9047','9048','9049','9050','9051','9052','9053','9054','9055','9056','9057','9058','9059','9060','9061','9062','9063','9064','9065','9066','9067','9068','9069','9070','9071','9072','9073','9074','9075','9076','9077','9078','9079','9080','9081','9082','9083','9084','9085','9086','9087','9088','9089','9090','9091','9092','9093','9094','9095','9096','9097','9098','9099','9100','9101','9102','9103','9104','9105','9106','9107','9108','9109','9110','9111','9112','9113','9114','9115','9116','9117','9118','9119','9120','9121','9122','9123','9124','9125','9126','9127','9128','9129','9130','9131','9132','9133','9134','9135','9136','9137','9138','9139','9140','9141','9142','9143','9144','9145','9146','9147','9148','9149','9150','9151','9152','9153','9154','9155','9156','9157','9158','9159','9160','9161','9162','9163','9164','9165','9166','9167','9168','9169','9170','9171','9172','9173','9174','9175','9176','9177','9178','9179','9180','9181','9182','9183','9184','9185','9186','9187','9188','9189','9190','9191','9192','9193','9194','9195','9196','9197','9198','9199','9200','9201','9202','9203','9204','9205','9206','9207','9208','9209','9210','9211','9212','9213','9214','9215','9216','9217','9218','9219','9220','9221','9222','9223','9224','9225','9226','9227','9228','9229','9230','9231','9232','9233','9234','9235','9236','9237','9238','9239','9240','9241','9242','9243','9244','9245','9246','9247','9248','9249','9250','9251','9252','9253','9254','9255','9256','9257','9258','9259','9260','9261','9262','9263','9264','9265','9266','9267','9268','9269','9270','9271','9272','9273','9274','9275','9276','9277','9278','9279','9280','9281','9282','9283','9284','9285','9286','9287','9288','9289','9290','9291','9292','9293','9294','9295','9296','9297','9298','9299','9300','9301','9302','9303','9304','9305','9306','9307','9308','9309','9310','9311','9312','9313','9314','9315','9316','9317','9318','9319','9320','9321','9322','9323','9324','9325','9326','9327','9328','9329','9330','9331','9332','9333','9334','9335','9336','9337','9338','9339','9340','9341','9342','9343','9344','9345','9346','9347','9348','9349','9350','9351','9352','9353','9354','9355','9356','9357','9358','9359','9360','9361','9362','9363','9364','9365','9366','9367','9368','9369','9370','9371','9372','9373','9374','9375','9376','9377','9378','9379','9380','9381','9382','9383','9384','9385','9386','9387','9388','9389','9390','9391','9392','9393','9394','9395','9396','9397','9398','9399','9400','9401','9402','9403','9404','9405','9406','9407','9408','9409','9410','9411','9412','9413','9414','9415','9416','9417','9418','9419','9420','9421','9422','9423','9424','9425','9426','9427','9428','9429','9430','9431','9432','9433','9434','9435','9436','9437','9438','9439','9440','9441','9442','9443','9444','9445','9446','9447','9448','9449','9450','9451','9452','9453','9454','9455','9456','9457','9458','9459','9460','9461','9462','9463','9464','9465','9466','9467','9468','9469','9470','9471','9472','9473','9474','9475','9476','9477','9478','9479','9480','9481','9482','9483','9484','9485','9486','9487','9488','9489','9490','9491','9492','9493','9494','9495','9496','9497','9498','9499','9500'] %}
nginx:
ng:
servers:
managed:
default:
enabled: False
config: None
vpn_revproxy:
enabled: True
config:
- server:
- server_name: _
{% for port in radon_ports %}
- listen:
- 10.88:88.1:{{port}}
- default_server
{% endfor %}
- root:
- /var/lib/mediawiki
- location /:
- 'if ($http_host = "x.x.com:9000")':
proxy_pass: "http://192.x.x.13:9000"
- 'if ($http_host = "suppliers.emolecules.com")':
proxy_pass: "http://192.x.x.15:85"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment