Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

📚 GuideСервер 1С на Windows и LinuxLinux · часть 12 из 14
Guide contents
Редакция КоммитРедакция портала
commit e123b64 · 19 days ago

1C Server on Linux, step 5: publishing databases to Apache — webinst, web client, and HTTPS

🌐 Machine-translated from Russian. Show original

In this part:

Apache Installation#

The 1C module for the web server supports Apache 2.4:

sudo apt install -y apache2
sudo systemctl enable --now apache2

The 1C web server extension module (component ws) must be installed together with the platform — see step 2 and web services;

  • standard OData interface.

Publish only what is truly needed. The easiest way is to make the first publication from the Configurator on a Windows machine, then move and fix default.vrd.

Verification#

curl -I http://localhost/buh/

The login form should open in the browser http://srv1c/buh .

HTTPS#

For internet access, HTTPS is mandatory:

sudo apt install -y certbot python3-certbot-apache
sudo certbot --apache -d 1c.example.kz

Certbot will receive a free Let's Encrypt certificate and set up automatic renewal. For servers without internet access, use an internal certification authority.

Publication security#

  • Publish only the necessary databases and services outside, the rest only from the local network.
  • Do not publish databases with empty user passwords.
  • For HTTP exchange services, create individual 1C users with minimal permissions.
  • An alternative to web publishing for your employees is VPN + thin client.

After the platform update#

Repeat webinst the new version — the module path will update in the Apache configuration. Then restart Apache.

🎉 The Linux server is ready. Next — backup.

Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.