Skip to content

Instantly share code, notes, and snippets.

@Hostifycz
Hostifycz / .htaccess
Created May 3, 2021 07:56
Automatické přesměrování na HTTPS
RewriteEngine on
RewriteCond %{ENV:HTTPS} !on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Header set Content-Security-Policy "upgrade-insecure-requests;"
@Hostifycz
Hostifycz / index.html
Last active May 3, 2021 08:00
Dynmapa pomocí iframu na Webhostingu
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dynmapa</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;