nginx.manifest.template 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #!$(PAL)
  2. loader.preload = file:$(SHIMPATH)
  3. loader.exec = file:build/sbin/nginx
  4. loader.execname = nginx
  5. loader.env.LD_LIBRARY_PATH = /lib:/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu
  6. loader.debug_type = none
  7. fs.mount.lib1.type = chroot
  8. fs.mount.lib1.path = /lib
  9. fs.mount.lib1.uri = file:$(LIBCDIR)
  10. fs.mount.lib2.type = chroot
  11. fs.mount.lib2.path = /lib/x86_64-linux-gnu
  12. fs.mount.lib2.uri = file:/lib/x86_64-linux-gnu
  13. fs.mount.usr.type = chroot
  14. fs.mount.usr.path = /usr
  15. fs.mount.usr.uri = file:/usr
  16. fs.mount.cwd.type = chroot
  17. fs.mount.cwd.path = $(PWD)
  18. fs.mount.cwd.uri = file:
  19. fs.mount.etc.type = chroot
  20. fs.mount.etc.path = /etc
  21. fs.mount.etc.uri = file:etc
  22. # allow to bind on port for listening
  23. net.allow_bind.1 = $(HOST):$(PORT)
  24. sgx.enclave_size = 512M
  25. sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
  26. sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
  27. sgx.trusted_files.libdl = file:$(LIBCDIR)/libdl.so.2
  28. sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
  29. sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
  30. sgx.trusted_files.libcrypt = file:/lib/x86_64-linux-gnu/libcrypt.so.1
  31. sgx.trusted_files.libpcre = file:/lib/x86_64-linux-gnu/libpcre.so.3
  32. sgx.trusted_files.libcrypto = file:/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
  33. sgx.trusted_files.libz = file:/lib/x86_64-linux-gnu/libz.so.1
  34. sgx.trusted_files.libnssdns = file:/lib/x86_64-linux-gnu/libnss_dns.so.2
  35. sgx.trusted_files.libnssfiles = file:/lib/x86_64-linux-gnu/libnss_files.so.2
  36. sgx.trusted_files.libnsscompact = file:/lib/x86_64-linux-gnu/libnss_compat.so.2
  37. sgx.trusted_files.libnssnis = file:/lib/x86_64-linux-gnu/libnss_nis.so.2
  38. sgx.trusted_files.libgnutls = file:/usr/lib/x86_64-linux-gnu/libgnutls.so.26
  39. sgx.trusted_files.libgcrypt = file:/lib/x86_64-linux-gnu/libgcrypt.so.11
  40. sgx.trusted_files.libnsl = file:/lib/x86_64-linux-gnu/libnsl.so.1
  41. sgx.trusted_files.conf = file:http.t
  42. sgx.allowed_files.root = file:build
  43. sgx.allowed_files.etc = file:etc