[add] domain sites
This commit is contained in:
		
							parent
							
								
									cae9e4c71d
								
							
						
					
					
						commit
						f518bc6430
					
				
					 3 changed files with 115 additions and 6 deletions
				
			
		|  | @ -1,8 +1,9 @@ | |||
| # caddyfile mar 2022 | ||||
| # caddyfile for omv | ||||
| # 2022-04 add domain sites | ||||
| # 2022-03 init | ||||
| { | ||||
| 	admin 0.0.0.0:2015 | ||||
| 	email bunce.andy@gmail.com | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| # Physical | ||||
|  | @ -41,10 +42,17 @@ | |||
|     	solange JDJhJDE0JE9kcjNWY1U4VS54M2IwUmJuV1UwYS41SDRQQi9Kc2lDUDBKUkpkVjNVc1I2dUNyYzl5MU9x | ||||
| 	}	 | ||||
| } | ||||
| # quodatum | ||||
| # quodatum domain ------------------------------- | ||||
| quodatum.duckdns.org {	 | ||||
| 	encode zstd gzip | ||||
| 	root * quodatum | ||||
| 	file_server browse | ||||
| } | ||||
| *.quodatum.duckdns.org { | ||||
| 	import duckdns | ||||
| 	import auth_quodatum | ||||
| 
 | ||||
| 	 | ||||
| 	@git host git.quodatum.duckdns.org | ||||
| 	handle @git { | ||||
| 		import omv 8300 | ||||
|  | @ -53,7 +61,7 @@ | |||
| 	handle @wiki { | ||||
| 		 import n2 8088 | ||||
| 	} | ||||
| 	@wiki_2 host wiki_2.quodatum.duckdns.org | ||||
| 	@wiki-alt host wiki-alt.quodatum.duckdns.org | ||||
| 	handle @wiki { | ||||
| 		 import xu4 8088 | ||||
| 	} | ||||
|  | @ -61,7 +69,7 @@ | |||
| 	handle @code { | ||||
| 		 import n2plus 8444 | ||||
| 	} | ||||
| 	@code_2 host code_2.quodatum.duckdns.org | ||||
| 	@code-alt host code-alt.quodatum.duckdns.org | ||||
| 	handle @code { | ||||
| 		 import omv 8444 | ||||
| 	} | ||||
|  | @ -70,7 +78,12 @@ | |||
| 		abort | ||||
| 	} | ||||
| } | ||||
| # orlop ------------------------------------ | ||||
| # orlop domain ------------------------------------ | ||||
| orlop.duckdns.org {	 | ||||
| 	encode zstd gzip | ||||
| 	root * orlop | ||||
| 	file_server browse | ||||
| } | ||||
| *.orlop.duckdns.org { | ||||
|    import duckdns | ||||
|     @jellyfin host jellyfin.orlop.duckdns.org | ||||
|  |  | |||
							
								
								
									
										48
									
								
								caddy/site/orlop/index.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								caddy/site/orlop/index.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,48 @@ | |||
| <html> | ||||
| <head> | ||||
|    <meta charset="utf-8" /> | ||||
|    <meta name="description" content="caddy test" /> | ||||
|    <meta name="author" content="andy bunce." /> | ||||
| 	<title>Orlop domain</title> | ||||
| 	<link rel="shortcut icon" href="icon.png"/> | ||||
| 	<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"> | ||||
| 	<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" > | ||||
|   <link href="https://cdn.jsdelivr.net/npm/vuetify@2.6.x/dist/vuetify.min.css" rel="stylesheet"> | ||||
|   <link href="app.css" rel="stylesheet"> | ||||
|   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | ||||
| </head> | ||||
| <body> | ||||
| 	 <div id="app"> | ||||
| 	 <v-app> | ||||
|       <v-main> | ||||
| 	  <div> | ||||
| 	  <span>Loaded at: {{ loaded }}</span><v-icon :title="loaded">mdi-clock</v-icon> | ||||
| 	   <span> {{ message }}</span> | ||||
| 	   <v-btn v-on:click="load">hits {{ hits }}</v-btn> | ||||
| 	  </div> | ||||
| 	  <v-container> | ||||
| 	   <v-row> | ||||
|         <v-col v-for="item in links"> | ||||
|           <v-card width="10em"> | ||||
|               <v-card-title class="text-caption"> | ||||
|               <a :href="item.href" :target="target">{{ item.text }}</a> | ||||
|               </v-card-title> | ||||
|               <v-card-actions> | ||||
| 	              <v-btn>?</v-btn> | ||||
| 	              <v-btn>{{ item.port }}</v-btn> | ||||
|               </v-card-actions> | ||||
|            </v-card> | ||||
|         </v-col> | ||||
|         </v-row> | ||||
|        </v-container>  | ||||
|          | ||||
|           | ||||
|           <iframe name="srv" src="icon.png" width="100%"></iframe> | ||||
|        </v-main> | ||||
|        </v-app> | ||||
|        </div> | ||||
|        <script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.js"></script> | ||||
|        <script src="https://cdn.jsdelivr.net/npm/vuetify@2.6.x/dist/vuetify.js"></script> | ||||
|        <script src="index.js"></script> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										48
									
								
								caddy/site/quodatum/index.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								caddy/site/quodatum/index.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,48 @@ | |||
| <html> | ||||
| <head> | ||||
|    <meta charset="utf-8" /> | ||||
|    <meta name="description" content="caddy test" /> | ||||
|    <meta name="author" content="andy bunce." /> | ||||
| 	<title>Quodatum domain</title> | ||||
| 	<link rel="shortcut icon" href="icon.png"/> | ||||
| 	<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"> | ||||
| 	<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" > | ||||
|   <link href="https://cdn.jsdelivr.net/npm/vuetify@2.6.x/dist/vuetify.min.css" rel="stylesheet"> | ||||
|   <link href="app.css" rel="stylesheet"> | ||||
|   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | ||||
| </head> | ||||
| <body> | ||||
| 	 <div id="app"> | ||||
| 	 <v-app> | ||||
|       <v-main> | ||||
| 	  <div> | ||||
| 	  <span>Loaded at: {{ loaded }}</span><v-icon :title="loaded">mdi-clock</v-icon> | ||||
| 	   <span> {{ message }}</span> | ||||
| 	   <v-btn v-on:click="load">hits {{ hits }}</v-btn> | ||||
| 	  </div> | ||||
| 	  <v-container> | ||||
| 	   <v-row> | ||||
|         <v-col v-for="item in links"> | ||||
|           <v-card width="10em"> | ||||
|               <v-card-title class="text-caption"> | ||||
|               <a :href="item.href" :target="target">{{ item.text }}</a> | ||||
|               </v-card-title> | ||||
|               <v-card-actions> | ||||
| 	              <v-btn>?</v-btn> | ||||
| 	              <v-btn>{{ item.port }}</v-btn> | ||||
|               </v-card-actions> | ||||
|            </v-card> | ||||
|         </v-col> | ||||
|         </v-row> | ||||
|        </v-container>  | ||||
|          | ||||
|           | ||||
|           <iframe name="srv" src="icon.png" width="100%"></iframe> | ||||
|        </v-main> | ||||
|        </v-app> | ||||
|        </div> | ||||
|        <script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.js"></script> | ||||
|        <script src="https://cdn.jsdelivr.net/npm/vuetify@2.6.x/dist/vuetify.js"></script> | ||||
|        <script src="index.js"></script> | ||||
| </body> | ||||
| </html> | ||||
		Loading…
	
	Add table
		
		Reference in a new issue