Let's say you want to host domains first.com and second.com.
Create folders for their files:
| #!/usr/bin/env python | |
| """ | |
| The MIT License (MIT) | |
| Copyright (c) 2015 Maker Musings | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights |
| extern "C" { | |
| enum sleep_type { | |
| NONE_SLEEP_T = 0, | |
| LIGHT_SLEEP_T, | |
| MODEM_SLEEP_T | |
| }; | |
| bool wifi_set_sleep_type(enum sleep_type type); | |
| void system_set_os_print(uint8 onoff); | |
| void ets_install_putc1(void* routine); | |
| } |
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |
| # to enable this filter add to jail.conf following (/etc/fail2ban/jail.conf) | |
| # Thanks to -> TheBarret | |
| [nginx-4xx] | |
| enabled = true | |
| port = http,https | |
| logpath = /var/log/nginx/access.log | |
| maxretry = 3 |
| /* | |
| * Copyright 2016 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| import 'package:flutter/material.dart'; | |
| import 'loadScreen.dart'; | |
| class AsyncWidget extends StatefulWidget { | |
| @override | |
| _AsyncWidgetState createState() => _AsyncWidgetState(); | |
| } | |
| class _AsyncWidgetState extends State<AsyncWidget> { | |
| Widget currentComponent; |
| <div *ngFor="let item of uploader.queue; let first = first;"> | |
| <img src="" thumbnail [image]="item?._file"/> | |
| {{ item?.file?.name }} | |
| {{ item?.file?.size }} | |
| </div> | |
| <input type="file" ng2FileSelect [uploader]="uploader" #fileInput [accept]="accept.toString()" [multiple]="multiple"/> |
| #cloud-config | |
| resize_rootfs: false | |
| disk_setup: | |
| /dev/sda: | |
| table_type: 'mbr' | |
| layout: | |
| - 25 | |
| - 75 | |
| overwrite: true |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| import 'dart:async'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. | |
| @override | |
| Widget build(BuildContext context) { |