feat: www <-> non-www redirection for apps
This commit is contained in:
		| @@ -266,7 +266,7 @@ | ||||
| 						required | ||||
| 					/> | ||||
| 					<Explainer | ||||
| 						text="If you specify <span class='text-green-600 font-bold'>https</span>, the application will be accessible only over https. SSL certificate will be generated for you.<br>To modify the domain, you must first stop the application." | ||||
| 						text="If you specify <span class='text-green-600 font-bold'>https</span>, the application will be accessible only over https. SSL certificate will be generated for you.<br>If you specify <span class='text-green-600 font-bold'>www</span>, the application will be redirected (302) from non-www and vice versa.<br><br>To modify the domain, you must first stop the application." | ||||
| 					/> | ||||
| 				</div> | ||||
| 			</div> | ||||
|   | ||||
| @@ -110,25 +110,9 @@ | ||||
| 						required | ||||
| 					/> | ||||
| 					<Explainer | ||||
| 						text="If you specify <span class='text-green-600 font-bold'>https</span>, the application will be accessible only over https. SSL certificate will be generated for you." | ||||
| 						text="If you specify <span class='text-pink-600 font-bold'>https</span>, the application will be accessible only over https. SSL certificate will be generated for you.<br>If you specify <span class='text-pink-600 font-bold'>www</span>, the application will be redirected (302) from non-www and vice versa.<br><br>To modify the domain, you must first stop the application." | ||||
| 					/> | ||||
| 				</div> | ||||
| 				<!-- {:else} | ||||
| 					<label for="fqdn" class="pt-2">Domain (FQDN)</label> | ||||
| 					<div class="col-span-2 "> | ||||
| 						<CopyPasswordField | ||||
| 							placeholder="eg: https://analytics.coollabs.io" | ||||
| 							readonly={!$session.isAdmin} | ||||
| 							name="fqdn" | ||||
| 							id="fqdn" | ||||
| 							bind:value={service.fqdn} | ||||
| 							required | ||||
| 						/> | ||||
| 						<Explainer | ||||
| 							text="If you specify <span class='text-green-600'>https</span>, the application will be accessible only over https. SSL certificate will be generated for you." | ||||
| 						/> | ||||
| 					</div> | ||||
| 				{/if} --> | ||||
| 			</div> | ||||
| 			{#if service.type === 'plausibleanalytics'} | ||||
| 				<PlausibleAnalytics bind:service {readOnly} /> | ||||
|   | ||||
| @@ -118,7 +118,7 @@ | ||||
| 							required | ||||
| 						/> | ||||
| 						<Explainer | ||||
| 							text="Set the fully qualified domain name for your Coolify instance. <br>If you specify <span class='text-green-600 font-bold'>https</span>, it will be accessible only over https. <br>SSL certificate will be generated for you." | ||||
| 							text="If you specify <span class='text-green-600 font-bold'>https</span>, Coolify will be accessible only over https. SSL certificate will be generated for you.<br>If you specify <span class='text-green-600 font-bold'>www</span>, Coolify will be redirected (302) from non-www and vice versa." | ||||
| 						/> | ||||
| 					</div> | ||||
| 				</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai