diff --git a/deploy_to_hetzner.sh b/deploy_to_hetzner.sh index ff4f699..b26c0d5 100755 --- a/deploy_to_hetzner.sh +++ b/deploy_to_hetzner.sh @@ -1,66 +1,40 @@ #!/bin/bash -# Deploy SummitWave landing page to Hetzner public_html via SFTP +# Clear SummitWave site and set up 301 redirect from summitwave.eu to www.summitwave.eu # === CONFIGURATION === SERVER="www269.your-server.de" USER="summitb" REMOTE_DIR="public_html" -LOCAL_DIR="$(dirname \"$0\")/src" +LOCAL_DIR="$(dirname "$0")/src" -# === UPLOAD === -echo "Uploading website files to $USER@$SERVER:$REMOTE_DIR ..." +echo "Clearing website and setting up redirect on $USER@$SERVER:$REMOTE_DIR ..." + +# Connect via SFTP: clear existing files, then upload only .htaccess sftp $USER@$SERVER < - - - - - - - - - - - SummitWave | Wireless Audio Made Easy - - - - - - - - - - - - - - - - - - - - - - - - -
- SummitWave logo - -
- - -
-

Crystal-clear audio, wherever it matters

-

- Deliver immersive, low-latency sound directly to your audience’s devices—perfect for venues, events, classrooms, and conferences. -

- SummitWave wireless audio transmitter - - Get started today - -
- - -
-

Use cases

-
-
-

Live Events & Festivals

-

Multiple stages, multiple languages, zero coordination headaches. Guests select their preferred audio stream instantly on their own device.

-
- -
-

Universities & Lecture Halls

-

Provide clear lectures, simultaneous translations, and assistive listening. Students use personal devices—no extra hardware required.

-
- -
-

Theaters & Cinemas

-

Offer lip-synced audio, multilingual tracks, and audio descriptions without disturbing other audience members.

-
- -
-

Conference Centers

-

Stream presentations, breakouts, and overflow rooms effortlessly. Attendees join the stream on their own devices.

-
- -
-

Rail & Transit Hubs

-

Replace unclear announcements with on-demand, easy-to-access audio streams for schedules, tourist info, and emergency messages.

-
-
-
- - -
-

Why Wireless Audio?

-

- Our wireless audio platform allows venues and event organizers to broadcast multiple, low-latency audio streams simultaneously. Everyone can join instantly using their own device—no setup hassles, no extra hardware. -

- -
- - -
-

Features

-
-
-

Flexible Audio Inputs

-

Connect existing equipment via AES67, USB, or web audio streams for seamless integration.

-
-
-

Multi-channel Streaming

-

Broadcast up to six independent audio channels for translations, programs, or separate sessions.

-
-
-

Web-based Control

-

Monitor, configure, and update from any device without installing software.

-
-
-

Smart Management

-

Group transmitters, automate updates, and manage streams effortlessly.

-
-
-

Automated Deployment

-

Full REST API enables integration into large-scale setups.

-
-
-

Compact & Efficient

-

Discreet, versatile mounting options for any environment.

-
-
-
- - -
-

Let’s bring your audio to life

-

Share your project details, and we’ll help you implement the perfect wireless audio solution.

-
- - - - - -
-
- - - - - diff --git a/optimize_device.sh b/optimize_device.sh deleted file mode 100644 index e69de29..0000000 diff --git a/sftp b/sftp deleted file mode 100644 index e69de29..0000000 diff --git a/src/.htaccess b/src/.htaccess index 74c780c..417bb6a 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -1,35 +1,10 @@ # Enable rewrite engine RewriteEngine On -# Force HTTPS +# Force HTTPS first RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] -# Redirect www to apex -RewriteCond %{HTTP_HOST} ^www\.summitwave\.eu$ [NC] -RewriteRule ^ https://summitwave.eu%{REQUEST_URI} [L,R=301] - -# Canonicalize index.html to root -RewriteRule ^index\.html$ https://summitwave.eu/ [L,R=301] - -# Ensure /manual/ uses PHP (login-guarded) -RewriteRule ^manual/?$ /manual/index.php [L] - -# Cache static assets (adjust as needed) - - ExpiresActive On - ExpiresByType image/webp "access plus 6 months" - ExpiresByType image/png "access plus 6 months" - ExpiresByType image/jpeg "access plus 6 months" - ExpiresByType image/svg+xml "access plus 6 months" - ExpiresByType image/x-icon "access plus 12 months" - ExpiresByType text/css "access plus 1 month" - ExpiresByType application/javascript "access plus 1 month" - - -# Security headers (best-effort; host must support) - - Header set X-Content-Type-Options "nosniff" - Header set Referrer-Policy "strict-origin-when-cross-origin" - Header set X-Frame-Options "SAMEORIGIN" - +# 301 Redirect apex (summitwave.eu) to www.summitwave.eu +RewriteCond %{HTTP_HOST} ^summitwave\.eu$ [NC] +RewriteRule ^ https://www.summitwave.eu%{REQUEST_URI} [L,R=301]