File nginx.sh of Package nginx

#!/bin/bash

# Update the repositories and install Nginx
zypper refresh
zypper install -y nginx

# Enable Nginx to start on boot and start the service
systemctl enable nginx
systemctl start nginx
openSUSE Build Service is sponsored by